Heathbo Posted February 23, 2005 Posted February 23, 2005 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
aaa Posted February 23, 2005 Posted February 23, 2005 It may be like this: If Status(CurrentFoundCount)<5 New Record Request else Show Message("You can't have more than 5") Endif Status function works in V6, but in 7 You must use Get-function.
-Queue- Posted February 23, 2005 Posted February 23, 2005 You may want to use Get(TotalRecordCount) if you want to include all records in the file and not only those in the found set.
Recommended Posts
This topic is 7212 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 accountSign in
Already have an account? Sign in here.
Sign In Now