|
1. Yes. Your REFFLD should reference the database field you are printing/displaying. 2. Advantages: If you change the database field's attributes, you can (usually) get away with just recompiling the printer & display files that reference it. (The exception is when you increase the length of a field such that it overlays another on the printer/display format, but then the recompile would fail and you would know what to do to fix it.) SDA & RDA (and perhaps third party utilities?) recognize and translate the attributes from the REFFLD, so you know as soon as you lay it out on the screen the attributes of the field. BTW, a little-known feature is that if you define the database field with an edit code or edit word in the PF DDS, that will carry over with the REFFLD on printer & display DDS (also on WRKQRY). Disadvantage: If you are editing printer & display file DDS via SEU, you will not see the attributes of the referenced field in REFFLD. -----Original Message----- From: Malini BC [mailto:malinibc@mailcity.com] Sent: Tuesday, March 21, 2000 6:37 AM To: MIDRANGE-L@midrange.com Subject: dspf & prtf querys 1. Is it advisable to use REFFLD in Printer & Display File. 2. What are the advantages & Disadvantages of using the same. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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.