Control Focus

A

Attila

When a form is open, is there a way to have it open on the
next avaliable EMPTY record instead of opening on the very
first record all the time.

Thank you,
Attila
 
G

Gary Miller

Attila,

In the Data section of the Form properties, set it to
DataEntry = Yes.

--

Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
 
J

JohnWL

I notice no one gave you a really good solution, so I'll respond a bit late
here. Setting the form property DataEntry to Yes prevents you from editing
or deleting records, it only allows adding of records.

To have a form open to a new ("empty") record, place the following line in
the form's Load event:
DoCmd.GoToRecord , , acNewRec
This will cause the form to load with the New Record selected, which is what
you seem to have asked for.

John Loewen
 

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