[Stackoverflow] [Progress OpenEdge ABL] How do you let user input a lengthy string into a variable?

Status
Not open for further replies.
A

AXMIM

Guest
How do you let user input a lengthy string into a variable?
I know this is trivial but I haven't been able to achieve it yet.

Here is what I've tried :

Code:
DEF VAR filter AS CHAR NO-UNDO.

UPDATE filter.

The value was always truncated to only a few characters. So, I've tried adding a format like so.

Code:
UPDATE filter FORMAT "X(318)":U.

Which give error

FILL-IN filter will not fit in FRAME

This program is only used by power user, so it doesn't have a frame to make thing pretty. The basic console is all that is needed. 318 characters would have been better than nothing, but it would still not be ideal because user may copy-paste a longer string. Note that user wouldn't not paste any string that exceed 32000 characters.

Here is what the user input would looks like.

value1,value2,value3,value4,value5,value6,value7,value8,value9,value10,value11

Continue reading...
 
Status
Not open for further replies.
Top