× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You are using RSTDSP(*YES)?

With out it, the OVRDTA would not take affect the 2nd time you enter program2.

Sharon


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Alan Shore
Sent: Tuesday, April 03, 2007 3:38 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Wrong data being displayed.


Derek - it would help if you post some code. Any answer would be something
of a guess.



Alan Shore

NBTY, Inc
(631) 244-2000 ext. 5019
AShore@xxxxxxxx
"If you're going through Hell, keep going" - Winston Churchill

rpg400-l-bounces@xxxxxxxxxxxx wrote on 04/03/2007 04:08:39 PM:


Hi,

I am facing a problem in a program.


There is a subfile with a set of order numbers,
When i select a particular order number, it goes to a different program ,

and shows some details for that order. The screen in this program is a
normal display screen(not a subfile). A few calculations are done and the

record format is written to the screen(not EXFMT). Then a few more
calculations are done and the same record format is EXFMT on the screen.
Now
i have added a new field on this screen.
When I select a particular record on the subfile screen(program1), and
move
to the second screen, i change the value of this new field and update it
by
pressing <F5>.
Now the program returns back to the first screen after pressing <F5>.
when i
select a different order number, the value of the field still remains the

same(the value changed for the previous order number is reflected for all

the order numbers on the screen but not in the databse), but during
debug,
before the screen is EXFMT, the value is the actual value moved from the
database file, but displayed value is the value entered the first time.
I guess this has got something to do with the PUTOVR or OVRDTA
keyword(OVRDTA keyword has been used for this field).
Any suggestions would really be of great help.

Thanks in advance

Derek

_________________________________________________________________
Can’t afford to quit your job? – Earn your AS, BS, or MS degree online in
1
year.
http://www.classesusa.com/clickcount.cfm?id=866145&goto=http%3A%2F%
2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-
dyn1.html%3Fsplovr%3D866143

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.