|
Thank you Barbara and Scott! This works like a charm (but you already knew that, I guess! :-) But I have one more question. Originally, I had defined a external data structure for the display file also, but my program wouldn't compile because the display file has this: A CHANGE(49) and the compiler choked and told me that *IN49 is a reserved word. I don't mind keying in all the field names (there are only 30 of them :-), but I was hoping to avoid having to do that. If I remove the CHANGE indicator from the display file, the external data structure works fine, but for various reasons I need to have some way to know if the user changed data without checking all the fields. I know it's asking a lot, but is there some way to have the best of both worlds -- use the external data structure for the display file but still have a way of knowing if there were changes? Thanks very much! rpg400-l@midrange.com writes: >> and in my program I have : >> D E DS ExtName(@MSI4 ) >> > . . . >You have @MSI4 loading into a data structure . . . >but you did not do the same thing for the >display file. > >Just do something like > > D ds > D dspq01 > D dspq02 > D dspq03 > D dspq04 > D dspq05 > D dspq06 Mike Naughton Senior Programmer/Analyst Judd Wire, Inc. 124 Turnpike Road Turners Falls, MA 01376 413-863-4357 x444 mnaughton@juddwire.com
As an Amazon Associate we earn from qualifying purchases.
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.