Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Access 2003 macro popup 1

Status
Not open for further replies.

WebGuyToo

Programmer
Aug 18, 2004
124
US
Hello all, I'm have developed in access 97, but havent done much in access 2003. I have create a simple form with a button that has an event with a msgbox. When I run the application a Macro dialog box pops up.

Does anyone know I can keep that box from coming up and just run the code? I did go in a set the macro security to low.

Any help would be bery appreciated.

Thanks, WebGuyToo
 
Thank you... do you know why this macro comes up though. Is this the default for access 2003?
 
Perhaps you could post a little more on the message that pops up?
 
Thanks again for helping me...

I have a form with an click event that has...

Private Sub Command0_Click()
MsgBox ("test")
End Sub

When I click the run button in VS a box pops up asking for the macro name.
 
if I run the default file format as access 2000 will it have these macro pop ups?
 
You cannot run form code from the form window, you must click the button. You can run code in an ordinary module.
 
how do I execute the application in order for the form to load so I can click the button. I tried F5 and it didnt work.
 
Choose View->Form View from the menu or click the form view icon.
 
Thanks it works now just fine. Its just the way I using it. One more question please...

When I open the database I get a security warning saying the code may not be safe. I thought this would go away once I chnage the macro security to Low?
 
That is what I thought you meant in the first place. See the link in my original post :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top