How to program a formula fill function on a field


#1

How is the best way to code a procedure to perform a function on a field wherein the procedure identifies the current field on which the function will be performed. I tried this, but it did not work:

FormulaFill StripChar(Info(“FieldName”), “09…”)


#2

Use FormulaFill StripChar(«», “09…”)


#3

Michael is correct, but perhaps you might like a bit of additional explanation.

The info(“fieldname”) function returns the name of the field. What you want is not the name, but the value contained in the field. An easy way to get the value of the current field is to use «», as shown in Michael’s example.