A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

display error messages with switchboard



 
 
Thread Tools Display Modes
  #1  
Old July 3rd, 2009, 03:53 PM posted to microsoft.public.access
Eugene Wohlfarth
external usenet poster
 
Posts: 1
Default display error messages with switchboard

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
  #2  
Old July 4th, 2009, 11:04 PM posted to microsoft.public.access
June7
external usenet poster
 
Posts: 68
Default display error messages with switchboard

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.

"Eugene Wohlfarth" wrote:

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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.