|
It appears the fields(columns) 1..5 of the subfile record are being loaded from a process which spans 16 records/indices, or even separate arrays, one for each column.
It's difficult to assume when not knowing the structures behind this,... but you should be able to assign the subfile fields 1..5 or 5..1 in the correct sequence fairly easily.
e.g.
Eval i = %Elem(Array1)
Do i x
Select
When x = 1
eval sflfld1 = array1(x)
When x = 2
eval sflfld2 = array1(x)
When x = 3
eval sflfld3 = array1(x)
When x = 4
eval sflfld4 = array1(x)
When x = 5
eval sflfld5 = array1(x)
EndSl
Write Sflrec
EndDo
Repeat for each array/record process. HTH
> Regards,
> Jon A. Erickson
> Sr. Programmer Analyst
> 800.COM Inc.
> 1516 NW Thurman St
> Portland, OR 97209-2517
>
> Direct: 503.944.3613
> Fax: 503.944.3690
> Web: http://800.com
>
-----Original Message-----
From: Lewis Libman [mailto:LLibman@behr.com]
Sent: Friday, August 04, 2000 10:44 AM
To: RPG400-L@midrange.com
Subject: Re: Subfile Load Right to Left
Attached (PDF Format) is an example of my previous request. As can be seen the numbers run sequentially down and over. I would like to load left to right and down.
Can this be done without too much involvement on my part. I would leave it like this but the users will be accessing this program/display file.
Thanks again.
Lewis
Lewis Libman
llibman@behr.com
714 545 7101 x2118
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.