Storing and reading a formula

Hello, I am trying to store a formula on a Shipping Agent record that will be used to calculate a check digit for a Pro Number…example Var1 MOD Var2. The problem I am having is that when I try to read this in my code, Navision does not understand this is a formula, it treats it as text…can anyone think of a way to do this…? We want the customer to be able to define the formula to use for calculating the Number.

Hi, take a look at these topics: http://www.mbsonline.org/forum/topic.asp?TOPIC_ID=12748&SearchTerms=code,field,formula,AL http://www.mbsonline.org/forum/topic.asp?TOPIC_ID=10179 I found them by searching the forum for code field formula AL (AL as in C/AL [:)]).