|
On Jan 31, 2019, at 4:30 PM, Tyler, Matt <matt.tyler@xxxxxxxxxxxxxx> wrote:
I have reduced redundant code by making my prompt program also double as data validation tools. Just call it the right way and it validates against what the user sees in the prompt (in case there are restrictions).
-Matt
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Tyler, Matt
Sent: Thursday, January 31, 2019 2:25 PM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: tab into DSPF field, but NOT update it
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.
-Matt
-----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.
Jay
--
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 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=OkMqcdQKWepd8RqoJFRG5VJO2IeOET8wCcWYHyVQ8Ms&s=5arPLkaqbSImAvNG4VK8K9JuCM6DAXB2DQSneKUyZz0&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=OkMqcdQKWepd8RqoJFRG5VJO2IeOET8wCcWYHyVQ8Ms&s=E8vtm8ua1w3jrVizHrgSu5QnliFlK95vgnRPxrkN1m4&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=OkMqcdQKWepd8RqoJFRG5VJO2IeOET8wCcWYHyVQ8Ms&s=p_S0nzHDboaj2AQo6k6k27cIduiytDqXJhYxqqwYKH4&e=
--
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://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-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.
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.