Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

MsgBox use

Hello,

I would like to show a message box with a status message and would like to terminate the load if necessary.

I looked in the manual and found the function msgbox:







Noconcatenate

MsgBox

('Message ... Continue?', 'msgbox', 'OKCANCEL', 'ICONASTERISK') as TestContinue

autogenerate

------

I expect that a value representing the button the user chose is stored somewhere. Can somebody tell me how to get to that value?

Thanks,

Paul.

1;Load



2 Replies
Not applicable
Author

Paul,

Search help on 'msgbox' for details. The resposnes are returned as integers like this:

response = msgbox('Continue?', 'Question', 'YESNO');

if $(response) = '7' then // no
......
else
......
end if;

Regards,

Gordon

Not applicable
Author

Thanks Gordon,

Your approach works.

Could find info in help on properties of msgbox, but no usable example of retrieving.

Great to have a community for these simple problems.

Paul.