|
Building a SINGLE screen for both update AND display of a cust record.
What is a good method to use ONE DDS record format for both UPDATE and DISPLAY.
For DISPLAY, I want the field protected and NO underline showing.
For UPDATE, I want the field unprotected with underline showing.
If the CUSTNAME field has usage "B" = both, how can I suppress the underline for DISPLAY?
(There is no DSPATR for removing the underlines).
I thought that CHGINPDFT might do the trick. However I cannot condition that on the mode DISPLAY or UPDATE.
Is the best method to describe each field twice?
For example
41 CUSTNAME B
N41 CUSTNAME O
It seems sloppy - any better ideas?
Thanks in advance!
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.