I have a database field that is 66 characters long.
When I display it on the screen though, I like to show it as a width of 10 characters "x(10)" but give the user the ability to type upto 66 characters.
DEFINE VARIABLE ctest AS CHARACTER NO-UNDO.
DISPLAY ctest FORM "x(66)" VIEW-AS FILL-IN SIZE 10 BY 1 WITH FRAME f1.
UPDATE ctest WITH FRAME f1.
MESSAGE ctest VIEW-AS ALERT-BOX INFO BUTTONS OK.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.