× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



One solution I have seen is to have the one record format, and then one more format with one field. For update, exfmt the record. For display, write the record and exfmt the new, mostly empty, record.

Its been a while since I used it, so I don't trust my memory as to what it does with underlines, but its no big deal to try it to see.

By the way, CHGINPDFT can be a field level keyword, so
CUSTNAME B
41 CHGINPDFT()
would remove the DSPATR(UL).

On 7/11/2016 5:20 PM, Stone, Joel wrote:
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.