how to load blank reocrd

M

Mo

Hello,

Background,
I have created a small D/Base. Within the dbase, I have created a form with
text box.
The idea for the text box is for users to add a description of some sort,
then click on a ADD Button & new record is created.

Problem,
i would like to open up the dbase & go to a blank record rather go to the
first record.

Example,
I have 25 records in the dbase, when I open it I ought to go to record 26
which is a new blank record. Instead the dbase opens up in record number 1.

Any idea on how I can resolve this?

Thank you,

Mo
 
J

James

Hi

I would suggest having another form that opens when you start the
database, i.e. a switchboard. On this you could have a command button
for opening the form as it is now and another for opening the form to
add a new record.

So, to open as now:
DoCmd.OpenForm "formname"
and to open to add a new record
DoCmd.OpenForm "formname", acNormal, , , acFormAdd

James
 
M

Mo

James,

thanks for your reply.

James said:
Hi

I would suggest having another form that opens when you start the
database, i.e. a switchboard. On this you could have a command button
for opening the form as it is now and another for opening the form to
add a new record.

So, to open as now:
DoCmd.OpenForm "formname"
and to open to add a new record
DoCmd.OpenForm "formname", acNormal, , , acFormAdd

James
 

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