Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I am trying to dynamically grab the the fully qualified field/table name from a exit trigger script for updating the same field in another record. I have normally use a cogitation of Get(ActiveFieldName) & Get (ActiveFieldTableName).

Thought I could simplfy this by using: GetFieldName(self), but get the error message "This Function can not be used in this expression".

I also tried using:$name=

GetFieldName(Evaluate(Get(ActiveFieldName)))

But get "?" for the value when exiting the field.

What I am doing wrong here?

Posted

You cannot use Self in a script, because it has no meaning there. The formula =

GetFieldName ( Evaluate ( Get(ActiveFieldName) ) )

should work. If you're getting a ? then probably there is no field active at the time of evaluation.

Posted

Thanks Comment,

Tried the "Self" parameter in a calculation and works fine.

Will have to try GetFieldName(Evaluate(Get(ActiveFieldName))) with a modify trigger script instead of a exit trigger script.

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