Author: David Sde
Subject: Truncated error message after VERIFY with LISTV
Posted: Mon Sep 05, 2016 11:26 pm (GMT 5.5)
Hi,
I hope someone can guide me. I need to validate an input field against a list of forty possible values. In the INIT section, I have:
In the )PROC section, I say:
The VER is working perfectly, but my issue is with the error message displayed when the user enters an invalid value. The displayed "short message" is INVALID VALUE, which is fine. But when I hit PF1 to display the "long message," I get a box with the message: "Enter one of the listed values ('VALUE1,VALUE2,VALUE3,..'), and the list is incomplete. Instead of showing all forty valid values, it only appears to show as many values as will fit on a single row of the panel.
Is there a way I force the panel to display the entire list of valid values? It would probably take up about three panel rows, but I'm willing to do that if it's possible.
Thanks so much,
David
Subject: Truncated error message after VERIFY with LISTV
Posted: Mon Sep 05, 2016 11:26 pm (GMT 5.5)
Hi,
I hope someone can guide me. I need to validate an input field against a list of forty possible values. In the INIT section, I have:
Code: |
&VALUES = 'VALUE1 + VALUE2 + VALUE3 + <etc> VALUE40' |
In the )PROC section, I say:
Code: |
VER (&FIELD1,NB,LISTV,&VALUES) |
The VER is working perfectly, but my issue is with the error message displayed when the user enters an invalid value. The displayed "short message" is INVALID VALUE, which is fine. But when I hit PF1 to display the "long message," I get a box with the message: "Enter one of the listed values ('VALUE1,VALUE2,VALUE3,..'), and the list is incomplete. Instead of showing all forty valid values, it only appears to show as many values as will fit on a single row of the panel.
Is there a way I force the panel to display the entire list of valid values? It would probably take up about three panel rows, but I'm willing to do that if it's possible.
Thanks so much,
David