David Jondreau Posted April 5, 2007 Posted April 5, 2007 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
comment Posted April 5, 2007 Posted April 5, 2007 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).
David Jondreau Posted April 5, 2007 Author Posted April 5, 2007 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.
comment Posted April 5, 2007 Posted April 5, 2007 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).
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now