Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I figure there must be something cool to do this this but ... don't I already know what the name of the script I am in is? ... or does it return the parent script name so you know where you came from ... but that is what passing paramenters is for.

Anyone know a great trick for this function?

Charles

FileMaker Version: 7

Platform: Windows XP

Posted

in the past I would use it as a variable. Same script duplicated many times w/ a different Variable. Then I would parse the script name to do thing. I just build the master script once. But as you mention now that we can use parameters I am scratching my head as to what I would use this for?

Posted

I have a file that has a number of scripts that are scheduled to run every 20 min. If I have an error I send an e-mail to myself with the scriptname in the body of the email and details about were the error occured. Helps me track down the error.

Brian

Posted

I used this in FileMaker Pro 6 in the access priviliges. e.g. Delete "by calculation".

If (patterncount(Status(currentscriptname);"DELETE"); 1 ; 0 )

So when a user is logged in, he can only delete a record by a script with "DELETE" in his name.

You can also use this in FileMaker Pro 7, but I guess that in most situations the option "run with full access privileges" will overrule this technique.

Koen

This topic is 7519 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.