September 11, 200322 yr Hi Everyone! OK... In CDML you can capture a "true" or "false" if someone can create a new record... Is there a way to do the same thing using FMP Scripts? Example: I created a script for creating a new record. It goes through all types of other finds n' junk before it actually get to the FileMaker "Create a New Record". MY PROBLEM: I'm trying to caputre that information early on in the script so I don't have to re-write this script. I can't use the "Error Capture" because the error won't get noticed until the END of the script. I sure can use some help on this. Thanks a bunch!
September 11, 200322 yr You can use the status functions to do what you want. First of all, you can use the Status(CurrentGroups) function to find out the group to which the user belongs, and figure out what privileges he has. Secondly, you can use the Status(CurrentError) function in the script immediately after you try to create a new record to find out if the record was created or not. You don't have to wait until the end of the script.
Create an account or sign in to comment