How to program a formula fill function on a field


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…”)


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


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.