Addam Posted September 11, 2003 Posted September 11, 2003 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!
BobWeaver Posted September 11, 2003 Posted September 11, 2003 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.
Recommended Posts
This topic is 7747 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