Trivial question for grid message

I need to diplay Error message when the grid is opened. I tried

sc_error_message(“Text”)

and

sc_alert(“This is an alert message!!”);

but it doesn’t seem to work for grid
Any other way ?

ARTHUR

En my case i created a control app, and from la grid i redirect to control with the macro redir.

This is to cancel the submissions of forms, to use onValidates.

and

sc_alert(“This is an alert message!!”);

but it doesn’t seem to work for grid
Any other way ?

ARTHUR

use onHeader

any idea ho to use the message, but allow user to make a decision (i.e 2 buttons) ?
I will see if “alvagar” suggestion would work
but perhaps there is another solution?

I would really like to see better management of user messages and errors
ART