display error messages with switchboard

  • Thread starter Eugene Wohlfarth
  • Start date
E

Eugene Wohlfarth

The databas has user level security. Limiting access to sertain
functions.Within my switchboard (sorry, I used the default created by the
wizard), I have buttons that when an unauthorized user clicks on it the
system now shows a message "There was an error executing the command".

Is there a way to change this message to something more suitable to the
actual error that is occuring?

Thank you in advance,

Eugene
 
J

June7

Does the button execute a macro or VBA code? I don’t use wizards or macros
and I believe wizard creates macros. If is VBA code I can analyze code if you
post. You have table of authorized users? The macro or VBA takes the login ID
and looks for match in table? If Then Else VBA structure could be used to
execute message box with message of your choice if match not found and halt
code, else continue. Similar statement should be possible in macro.
 

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