How to set limit of rows in Table

vaibhav2015

Registered User.
Local time
Today, 19:33
Joined
Sep 15, 2015
Messages
25
Hi,
Can you please guide me how to set limit of rows in table.

example: I want to add only 130 rows in table. when user try to add new row 131 access should not allow him and give message "Exceeded Rows limit".

Thanks,
 
This can be done using by setting some code in the forms Before Update event which would use the DCount() function to find the current number of records and if it returns 130 it would cancel the update and give the required message to the user.
 
Thanks for your help, it work.
 
Glad to be of help. Perhaps you would be good enough to mark the thread as solved.
 

Users who are viewing this thread

Back
Top Bottom