View Full Version : Changing default message


N1ck9141
08-21-2008, 07:50 AM
I dont no if this is even possible ive never heard of it being done but it would be kool...

i have created different users for my data base now if a normal user clicks on the button for admin area it tells them they dnt have privlages etc ( u no the default popup )

however i was wondering can i change what pops up for example change it so a u dnt get the "default you are not allow " to a picture for example of a keep out sign

any help would be nice but im not sure its possible thanks :)

Pat Hartman
08-21-2008, 08:19 PM
You would need to create a subform with the graphic you want and open it instead of using a MsgBox.

N1ck9141
08-21-2008, 09:49 PM
i will try this however i dnt tell it wht box to open it does it auto matically thats what i need to no how to change

Pat Hartman
08-22-2008, 07:32 PM
You would use the DoCmd.OpenForm Method to open a form.

N1ck9141
08-23-2008, 01:25 AM
i understand i need to change the command to open the form my point is i dnt no where im changing or even if its possible to change it as it is a defualt built in message NOT one i made

Rich
08-23-2008, 02:08 AM
On the code for the Admin button