Jump to content
Server Maintenance This Week. ×

counting and stopping records


Heathbo

This topic is 7001 days old. Please don't post here. Open a new topic instead.

Recommended Posts

OK, this what I need to happen. A user pushes a button to create a new record. A script checks to see how many records there are. If there are 5, a window saying "you can't have more than 5" pops up and stops the script. If there are less than 5 then the script will create a new record and quit.

How do I write this script? I know how to create a new record and display a message in a window. How do you test to see how many records there are?

Thanks for your time

Link to comment
Share on other sites

This topic is 7001 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.