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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Maximum # of Records

Status
Not open for further replies.

BeallDon

Technical User
Aug 20, 2007
46
CA
How can I set the maximum # of records in a table? I have a table and I only want the user to be able to create 70 records maximum.
 
You will need to control and validate this through your user input forms and restrict access to the tables directly.
There is no way to restrict this at the table level.

John
 
ok, but how do I "control and validate this through my user input forms and restrict access to the tables directly"??
 
You can create a bound form for data entry based on the relevant table. After that, there are a number of ways to control data entry, one that springs to mind is to disallow adding records (AllowAdditions) if the count (DCount) is equal to the number allowed.
 
thanks Remou. The DCount worked perfectly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top