Open form in blank record

Ed3m

New Member
Joined
Mar 10, 2004
Messages
35
Hi
How can I make a button which allows the user to open another form containing many records and automatically move to the end of the datasheet to add a new record without clicking the next record button
Thanks.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
I'm not sure if this is going to help or not but you can change the "Data Entry" property of the form to "Yes" which will make the form default to a new record every time you open the form. However, the limitation is that you can't use the form to edit or delete existing records - you can only use the form to add new records.
 
Upvote 0
that last post helped me greatly, i wanna thank you for that post, even though it wasn't meant for me, it still has made my day. Thanks a tonn man, your a real help. I can now get over creating my program and go and do something else...
i bow down before thee :pray:
your a real hero.... lol
thanks again
 
Upvote 0
Where can i find the data entry property, I've searched though the forms properties, im also using access 2000.
thanks
 
Upvote 0
The Data Entry property is on the Data tab of the Form property sheet.
 
Upvote 0
Thanks for the help
One more thing....
The following code searches for a customer using their name, I would like to add a message box if the name does not exist or cannot be found.

Private Sub Command2_Click()
On Error GoTo Err_Command2_Click

Dim stDocName As String

stDocName = "Find customer"
DoCmd.OpenForm stDocName, acNormal, acEdit

Exit_Command2_Click:
Exit Sub

Err_Command2_Click:
MsgBox Err.Description
Resume Exit_Command2_Click

Thanks
 
Upvote 0

Forum statistics

Threads
1,221,848
Messages
6,162,415
Members
451,762
Latest member
Brainsanquine

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top