Cursor Position in Continuous Form

  • Thread starter Thread starter Samantha
  • Start date Start date
S

Samantha

I have created a continous form which displays several
records then a blank record. How can make it so that when
the form is opened, the cursor imediately goes to the
blank record under the first column for data entry. I
already have the following code under the forms On Active
property: Me.FirstField.SetFocus but all that did was put
my cursor in the first field of the first record. Please
help.
Thanks, Samantha
 
If you don't want the old records to show, you can set Data Entry to Yes in
the form's Properties. If you do want the old records, but just move to the
new record, then in the form's Load event type:

DoCmd.GoToRecord , , acNewRec
 
Thanks,Wayne!
Samantha
-----Original Message-----
If you don't want the old records to show, you can set Data Entry to Yes in
the form's Properties. If you do want the old records, but just move to the
new record, then in the form's Load event type:

DoCmd.GoToRecord , , acNewRec

--
Wayne Morgan
Microsoft Access MVP





.
 
Back
Top