Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Q: How to stop user from 'scrolling' into new record?

Status
Not open for further replies.

mikeg8

Technical User
Sep 11, 2003
32
GB
Possibly a silly question...

Form displayed on screen with command buttons to go to next/previous records, etc (I don't use the built in next/prev buttons).

How can I ensure that the user cannot scroll past the last 'real' record into the 'new', blank record? I don't want some users to be able to add records in this way.

Any ideas would be most appreciated, but please keep any reply simple, as I am!

Mike
 
Try:
In VBA Code:
Me.AllowAdditions = False

Manually, set the AllowAdditions property of the form to:
No

To turn them on again, True or No respectively.

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top