Hi Joe
This already is a work field - strictly used in the DDS screen
However, I do understand what you are saying - but I know the users involved - I will get tickets saying that there is a problem with this and that the field can be cleared
I may have to leave it the way it is and tell the users that they will have to move the cursor to that position using the mouse or the left/right/up/down keys
It would have been so much better/easier to have a method to tab over to there without being able to change the value
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Joe Pluta
Sent: Thursday, September 05, 2019 11:21 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: [EXTERNAL] Re: Tabbing to a DDS output field
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
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.