Error Dialog

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

When I take access to a Form away from a user, when they
click the button on the SwitchBoard, it gives them an
error "There was an error exectuing the command." I want
to change this to say something like "You do not have
permission to view this form"
How can I change this error message?
 
This message is toward the end of the function
HandleButtonClick()

You can keep the original message (in case something else
other than permission goes wrong) and add another check
for your permission error to output your message.

Hope this helps
Hedi
 
Back
Top