Form opens when database opens (1 Viewer)

jamphan

Registered User.
Local time
Yesterday, 16:39
Joined
Dec 28, 2004
Messages
143
How can I get a form to open when the database opens?
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 16:39
Joined
Aug 30, 2003
Messages
36,133
Tools/Startup
 

jamphan

Registered User.
Local time
Yesterday, 16:39
Joined
Dec 28, 2004
Messages
143
thanks! How about getting it to advance to a new record when it opens?
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 16:39
Joined
Aug 30, 2003
Messages
36,133
One way would be to set the form's Data Entry property to Yes.
 

jamphan

Registered User.
Local time
Yesterday, 16:39
Joined
Dec 28, 2004
Messages
143
I want the other records to be able to be accessed though. That seems to erase all the other records from the form.
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 16:39
Joined
Aug 30, 2003
Messages
36,133
It doesn't erase anything, they just aren't being viewed. Change that setting back and put this in the load event of the form:

DoCmd.GoToRecord , , acNewRec
 

Users who are viewing this thread

Top Bottom