Empty Fields on a form when opening?

B

Becca

When I click on a command button to launch a form, I want
the form to open with the fields empty, so I can go right
into entering my data. Right now what comes up is the
very first entry I ever made and I made a custom button
that says add new record. I'm stuck! TIA!

Rebecca Ford
 
T

tina

add this line of code after the OpenForm code, as

DoCmd.RunCommand acCmdRecordsGoToNew

hth
 
K

Kevin Sprinkel

Rebecca,

If you always wish to open the form in data entry mode,
change the form's Data Entry property to "Yes".

HTH
Kevin Sprinkel
 
B

Becca

Way too easy! Thanks so much Kevin!
-----Original Message-----
Rebecca,

If you always wish to open the form in data entry mode,
change the form's Data Entry property to "Yes".

HTH
Kevin Sprinkel

.
 
Top