|
I have been using the Postion keyword in the DDS.
I find its really time consuming to set the position parameters & check if
values printed correctly. And if not, i have to start over again with new
values in the parameters.
Just today, i almost wasted like 50 pages on just aligning the data.
Is there any other way to give the values to the params in the POSITION
keyword???. ( Thank God :-) I almost completed my printer file for now ).
Thanks.
Jodi_Walker@ccmail.columbia.com (Jodi Walker)@midrange.com on 06/21/2000
11:15:18 AM
Please respond to RPG400-L@midrange.com
Sent by: owner-rpg400-l@midrange.com
To: RPG400-L@midrange.com
cc:
Subject: Re: Overlay Type Objects
You might try using the field level keyword POSITION. This dictates
where a specific field is to appear on the logical page. It takes 2
parms, which are required. The first defines the position down the
logical page, the second parm defines the position across, in either
inches or centimeters, dependent upon the setting of the CRTPRTF UOM
parm. Valid ranges are a)for cm: 0 - 57.90, b) for in: 0 -22.75. This
is a bit more fine tuning that you can get with row & column used in
'standard' DDS. Conditioning indicators can be used.
These parms can either be hard-coded in the DDS or be dynamic via
program to system fields. If you use variables, they must be defined
in the same record format as the POSITION keyword, must be defined as
program to system data type, and must be 5 byte zoned with 3 decimal
positions.
enjoy
jw
______________________________ Reply Separator
_________________________________
Subject: Overlay Type Objects
Author: Gade_R_Reddy@consecofinance.com at Internet
Date: 06/21/2000 10:24 AM
Hello Everybody
Just want to know if anybody worked on object type called *OVL ( Overlay).
I have use these overlay object in my printer file.
The difficult part is positioning data at the exact locations on the form.
Is there a easy way to do that???.
Please let me know if anybody has any advice.
Thanks.
Gade.
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
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.