Cursor Position in Continuous Form

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
 
W

Wayne Morgan

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
 
S

Samantha

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





.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top