Moving to Next Record

chrisjrice

Registered User.
Local time
Today, 13:36
Joined
Mar 26, 2002
Messages
37
How do I stop Access from accessing a new record when I forward past the last record within a form?

I currently have icons set up to allow a person to move bacward and forwards through the records. I want the form to stop at the last record not move into a blank one.

Help would be much appreciated.

Chris
 
In the Forms Properties set Allow Additions = No

IMO
 
I also have an Icon which you click on to add a new record. If I set this form property to no, will that disable the add icon as well?

Many thanks for your help.
 
In the OnClick event of your Add Record button put this code...
Code:
Me.AllowAdditions = True
DoCmd.GoToRecord , , acNewRec

IMO
 

Users who are viewing this thread

Back
Top Bottom