Below query works fine with PROMPT-FOR
DISPLAY "Input" WITH FRAME a.
PROMPT-FOR ITEM.co_num ITEM.wh_num WITH FRAME a.
for first ITEM
WHERE using co_num and wh_num:
disp abs_num.
I have to take email address also from the user through screen and that email I will use to send an email with attachment. But when I use below code, I get this WARNING - ** PROMPT variable email should be used with INPUT prefix or ASSIGNed. (402). Progress advises to use SET or UPDATE statement. If I use SET or UPDATE, then it will show in a different frame. I want to capture all three values in single frame (without showing this warning) from user. How to do (any example would really help) ? Thanks.
DISPLAY "Input" WITH FRAME a.
define var email as char no-undo.
PROMPT-FOR ITEM.co_num ITEM.wh_num email WITH FRAME a.
for first ITEM
WHERE using co_num and wh_num:
disp abs_num.
DISPLAY "Input" WITH FRAME a.
PROMPT-FOR ITEM.co_num ITEM.wh_num WITH FRAME a.
for first ITEM
WHERE using co_num and wh_num:
disp abs_num.
I have to take email address also from the user through screen and that email I will use to send an email with attachment. But when I use below code, I get this WARNING - ** PROMPT variable email should be used with INPUT prefix or ASSIGNed. (402). Progress advises to use SET or UPDATE statement. If I use SET or UPDATE, then it will show in a different frame. I want to capture all three values in single frame (without showing this warning) from user. How to do (any example would really help) ? Thanks.
DISPLAY "Input" WITH FRAME a.
define var email as char no-undo.
PROMPT-FOR ITEM.co_num ITEM.wh_num email WITH FRAME a.
for first ITEM
WHERE using co_num and wh_num:
disp abs_num.