Error Dialog

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?
 
H

Hedi

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top