I’m Calling an RPG program from a button click, which prompts the user for more info.
An error is encountered in the backend operation during validation, so I have this code
When this happens, the original prompt is redisplayed overtop the NAB Message - if the user clicks the cancel button on the prompt, they can see the message.
Is there a way to get the prompt to not "re-display"? Or, at least get the nab message to overlay the prompt?
I have currently changed "success" to be "true", which seems to do the trick but it also refreshes my grid (which wipes out the selected rows).
An error is encountered in the backend operation during validation, so I have this code
Code:
SetResponse('success':'false');
SetResponse('appVar':'nabMsg':'Cannot Delete an Active Pick: ' + gOrder);
return;
Is there a way to get the prompt to not "re-display"? Or, at least get the nab message to overlay the prompt?
I have currently changed "success" to be "true", which seems to do the trick but it also refreshes my grid (which wipes out the selected rows).

Comment