Would like to see NEW Form.

S

sweetummy

hi,
I have created database with 100 's of records..
When opened it shows my first record every time .

I would like to see a new form to append to all those records..

Eg: 100 records saved in database and i exited from access.

after opening it show me 101 record to enter.....
 
A

Allen Browne

A simple solution is to set the form's Data Entry property to Yes. Then
Access won't load the existing records, so you will be at a new record each
time you open the form.

If you want to load the old records so the user can step back to them
(navigation buttons), put this code into the form's Load event procedure:

Private Sub Form_Load()
It Not Me.NewRecord Then
RunCommand acCmdRecordsGotoNew
End If
End Sub
 
S

sweetummy

Thank you very much browne.. and you have given me a bonus of
(Thousand tips) website..
allenbrowne.....
 

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