• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

NAB Message overlaid by prompt

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NAB Message overlaid by prompt

    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


    Code:
    SetResponse('success':'false');
    SetResponse('appVar':'nabMsg':'Cannot Delete an Active Pick: ' + gOrder);
    return;
    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).

  • #2
    Can you try changing your last line to:
    Code:
    SetResponse('msg':'Cannot Delete an Active Pick: ' + gOrder);

    Comment


    • #3
      That works perfectly. Thanks.

      Comment

      Working...
      X