Access 97 Forms default behavior.

  • Thread starter Thread starter techjohnny
  • Start date Start date
T

techjohnny

Hello, Group:

I created a form to input data into a table, very simple form, and I'd
need to change the default view when the user opens the form.
Currently, the form opens up to the first record created, but I'd like
the form to open up to the next available records.

Thanks,

--TJ
 
Hello, Group:

I created a form to input data into a table, very simple form, and I'd
need to change the default view when the user opens the form.
Currently, the form opens up to the first record created, but I'd like
the form to open up to the next available records.

Thanks,

--TJ

What does 'next available records' mean to you?
The 2nd record? The last record? A new record?
 
TJ,
If you mean you'd like to open the recordset on the form to a New record...
and, you didn't indicate how you were open ing the form (from a button Click, or just
Dbl-Clicking the form from the Access (database) screen.
From Button:
Add a GOTORecord command after the button OnClick Open command.
DoCmd.OpenForm "YourForm"
DoCmd.GoToRecord , , acNewRec
From Database screen:
Use the OnOpen event of the form to...
DoCmd.GoToRecord , , acNewRec
 

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

Back
Top