|
Hi Francis,
Yes, this is done, but some of the fields are combined into a single
field. Here's my subfile code:
A R SPODATA SFL CHGINPDFT(CS)
A SPONUM 13A O 7 2
A PARTNO 15A O 7 16
A PARTCL 7A O 7 33
A QTY 6A O 7 41
A SUPPLIER 9A O 7 48
A SPRCCD R O 7 58
A SPOSDATE 10A O 7 62
A SPOSTIME 5A O 7 73
A SPTRMD R H
A SPRMRK R H
A SPUSR R H
SPONUM is really a combination of SPNO01, SPNO02, and SPNO03.
Brian.
-----Original Message-----
From: Lapeyre, Francis [mailto:FLAPEYRE@xxxxxxxx]
Sent: Thursday, October 13, 2005 4:38 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: Printing a Subfile - Revisited
Brian,
Have you tried declaring every file field from the file you are loading
as a
field in the subfile (if it's not there as a visible field, declare it
as a
hidden field)?
Francis Lapeyre
IS Dept. Programmer/Analyst
Stewart Enterprises, Inc.
Voice: (504) 729-1468 or (800) 257-1610, ext. 1468
FAX: (504) 729-1457
E-mail: flapeyre@xxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.