cortiel

VFP - > FMPA16

Discussion created by cortiel on May 17, 2017
Latest reply on May 18, 2017 by PeterCortiel

I am converting an 20 year old VFP program to Fm

 

its an app to manage state bonds program

 

there a fixed and variable rate bonds. some have regulat interest calculations, some have custom formulats which are stored in a vfp memo field (text)

VFP has an EVAL function which takes the contant of the formula field and executes it

for example:

lnAmount * (lnIntrRate/100) *28/360

or

lnAmount*(lnIntrRate/100)*(ldToDate-ldFromDate +1)/360

 

how can this be accomplished in FMPA16??

 

thanks

 

 

Peter

Outcomes