Oct 11, 2008 #1 JoeMicro Technical User Aug 24, 2007 76 CA HI, is there any way i could run some code (not a macro) when ever a user opens an access file Thanks Joe
HI, is there any way i could run some code (not a macro) when ever a user opens an access file Thanks Joe
Oct 12, 2008 #2 Remou Technical User Sep 30, 2002 13,030 BE You can choose a start-up form from Start-Up Options and add code to the Open event. The form does not have to be visible. Upvote 0 Downvote
You can choose a start-up form from Start-Up Options and add code to the Open event. The form does not have to be visible.
Oct 12, 2008 Thread starter #3 JoeMicro Technical User Aug 24, 2007 76 CA but i have already a startup form, and i think i could only do one form at start up. but then there is another solution, to do an AutoExec Macro, which is the same idea... i just thought that its possible to do just like in excel. Thanks Joe Upvote 0 Downvote
but i have already a startup form, and i think i could only do one form at start up. but then there is another solution, to do an AutoExec Macro, which is the same idea... i just thought that its possible to do just like in excel. Thanks Joe
Oct 12, 2008 #4 Remou Technical User Sep 30, 2002 13,030 BE You said "not a macro" ! If you want a macro to run code, you can also use command line switch /x. You can call the second start-up form from the first. I use a form that checks everything and then either calls the standard menu or another form. Upvote 0 Downvote
You said "not a macro" ! If you want a macro to run code, you can also use command line switch /x. You can call the second start-up form from the first. I use a form that checks everything and then either calls the standard menu or another form.
Oct 12, 2008 Thread starter #5 JoeMicro Technical User Aug 24, 2007 76 CA That's an interesting idea, to call the second form from the first. i oughta do that. thanks Remou, Upvote 0 Downvote