|
Steve, A little history here is that on iinitialization the subfile control is written then the subfile is displayed with out ever writing a subfile record. What I am looking for is a way to make a field that automagicall increments itself with out any intervention in the RPG. Will this method do that? If not is this even possible? ____________________________________________________ J. Scott Carter Programmer/Analyst e-mail: Mailto:scarter@rsrcorp.com Phone: 214.583.0348 It's not the destination that counts in life it's the journey. The journey with the people we love is all that really matters. Such a simple truth so easily forgotten. "Steve Landess" <steve_landess@ho To: <rpg400-l@midrange.com> tmail.com> cc: Sent by: Subject: Re: Displaying a sequence number in load all DDS? rpg400-l-admin@mi drange.com 11/25/2002 04:51 PM Please respond to rpg400-l Define an output field in the subfile for displaying the relative record number. Then, in the RPG program: Just before you write the subfile record to the subfile, z-add or move the value of the subfile RRN field (as defined in the F-spec continuation KSFILE line) into this new field. HTH Steve Landess Austin, Texas (512) 423-0935
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.