What alternative is there to sc_error_exit() in a blank application?

Hi All,

I have some code in a blank application, and when error checking and if there is an error, I want to issue an error message and then let the user click on an OK button, and redirect to the calling application.

In just about every other application type you can use sc_error_message(“text message”) followed by sc_error_exit(my_application) to do it, but the sc_error_exit fails in a blank application.

When the error message is displayed on the screen, you cannot just use the “back” button on the browser.

Is there a way to achieve what I need, or do I have to sc_redir to a control application to display a field with the error message (lots of extra work that is)

Thanks

Tony

In a blank page nothing happens and you have to do it all by yourself. You could use a javascript function, i.e. alert (although it doesn’t looks nice), or use some more fancy stuff if you integrate jquery and/or bootstrap.

Thanks Albert, in the end I just “rolled my own” with a control application.

The support at SC said to email a suggestion for just in case it is possible to incorporate it at a later date.

Tony