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 6503 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Is there a way to identify the a calculation field from within itself?

I had this idea for a recursive custom function that would concatenate the values from all the indexable fields in a record (in order to search on).

I was thinking of using it in a calculation field, but don't want the calc to reference itself (making a circular argument).

I'm looking for something like Get(CalculationRepetitionNumber) but for the field ID itself.

Thanks

Posted

I don't think so. You could pass the field name as a parameter to your function (the field to exclude), but it would need to be text (IOW, if you rename the field, the formula will not automatically update).

Posted

What about a way to grab the literal calculation text referenced in a calculation field? That way I could test with PatternCount for the name of the CF.

So if I have a field:

CalcField = "Calc" & "Field"

I want the result of " "Calc" & "Field" " (Not "CalcField"). I've been playing around with Quote, Evaluate, GetField but can't get it too line up.

Posted

I think the closest you can get is the FieldType() function.

Seems like a lot of work for something that could be achieved simply by concatenating the fields that are worth searching (usually not than many, and they don't change too often).

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