I am trying to get a Procedure to run. I suspect the problem is with “formulafill”
In the Procedure below I get the error message:
“Total Fee does not exist in database RMD Pan X template” (“RMD Pan X template” is the name of the database). Well, “Total Fee” is a field that should be created by the Procedure below. The Procedure below adds the field.
When I take out the line
“formulafill “PV”*.015"
(right above addfield “Total Fee”) then the Procedure runs.
Except when I get to the last line in the Procedure:
formulafill “Total Fee”-“Cash”
I get an error message:
“Cannot subtract a number from text”
even though the Field types are Numbers (Float)by the procedure.
Any suggestions anyone? Thanks
Ed
Here is the Procedure:
addfield “PV”
Field “PV”
fieldtype “float”
addfield “1 yr Fee”
Field “1 yr Fee”
fieldtype “float”
formulafill “PV"*.015
addfield “Total Fee”
Field “Total Fee”
fieldtype “float”
formulafill «RMD Current Year»+“1 yr Fee”
addfield “Cash”
Field “Cash”
fieldtype “float”
addfield “SELL”
Field “SELL”
fieldtype “float”
formulafill “Total Fee”-“Cash”