February 23, 200520 yr 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
February 23, 200520 yr 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.
February 23, 200520 yr 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.
Create an account or sign in to comment