× 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.



Alan, I don't want to try to get too far into the code you're working with, but if you're going to prompt for a value and display the returned value on the screen but not allow updates, then the field on the screen should be a work field.

Do this in your display:

A #RVSCDE_W 3A B 8 77

And then in your program, just set #RVSCDE_W to #RVSCDE just before you EXFMT the screen.

If the field is not already defined in your program, then do a LIKE DEFINE to define #RVSCDE the same as #RVSCDE_W.  That should do what you want.  The prompt logic will fill #RVSCDE, and then even if they manage to clear #RVSCDE_W it won't affect the original field.


On 9/5/2019 7:54 AM, Alan Shore via MIDRANGE-L wrote:
HI Booth
This looks,similar to what Joe Pluta suggested
The field exit key will still clear it, and I know a number of users, use field exit key to tab
However, I will give it another shot and see what happens


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.