I don't understand why you don't allow user input in this field. If they know the value let them key it. Seems like it being made harder than it should be. If they key it in wrong then you validate the inputs before allowing database updates.


-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Jay Vaughn
Sent: Thursday, January 31, 2019 1:23 PM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: tab into DSPF field, but NOT update it

currently i have a field that is output only in the dspf so that the user can SEE the value in it but if they want to change it they have to f4 to pull up another maintenance window for that field.
PO growling because the user cannot tab into the field then press f4 to update it.

sooo, is there a way to keep the field from being edited but allow it to be tabbed into.

case of want my cake and eat it too i realize... and probably not practical.

only other thought was to put a 1char input field just before it to allow them to tab into and press f4 giving the appearance they are on the field.

This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=F5YO1oYYQVtcYZUVwaZeoPCO5F_Ovfi9fIdeih8f-YQ&s=4qx5LeYnJbLK__VK_eKgOnOwu3mz52CqWhPWkSEry80&e=
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_rpg400-2Dl&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=F5YO1oYYQVtcYZUVwaZeoPCO5F_Ovfi9fIdeih8f-YQ&s=g-7ugVreyU1qYH2tlGG2fkv2qIr3N7SUrMYf0Iibinc&e=.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=F5YO1oYYQVtcYZUVwaZeoPCO5F_Ovfi9fIdeih8f-YQ&s=gk5H1Dy8QWItDCHZV9nDDvqRClzSHFX12n_oOisaMHc&e=

This thread ...


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

This mailing list archive is Copyright 1997-2019 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].