Form data entering

L

Leon

When I open up the form to enter data it shows record 1.I must then select
the >* to add a new record. Some times I forget to do this and start
entering data into the first record before I realize what I am doing. How do
I get the form to automatically bring up the next blank record in order to
enter data? TIA
 
S

Steve Schapel

Leon,

One way is to set the Data Entry property of the form to Yes. However,
this will mean you can't scroll back to see previous records, which you
may or may not want. If you do want to be able to access previous
records, do it like this instead... add a line of code to the routine
that you use to open the form, like this:
DoCmd.GoToRecord , , acNewRec
 
Top