Hi You can store the expression as string and afterwards replace variables with any values you like
The easiest way to replace them is to store expression string as "%1 + %2 + %2 + %2" And replace variables with strFmt() then use evalBuf() to execute string expression example with steps: str = s; str = expression; real = r; ; s = "%1 + %2 * (%3 / %4) / (%4 * %5)" expression = strFmt(s, value1, value2, value3, value4, value5); expression = strReplace(expression, ',', '.') r = evalBuf(expression); strReplace was needed because of my regional settings - decimal delimiter is stored as comma ','. Expression must be with dots '.' Only restriction is to write correct expression syntax in string best regards Ingus Ziedinsh --- In [email protected], naveed ali <naveed_jadoo...@...> wrote: > > Hi, > > I have mathmatical expression like a+b(c/d)/(d*e). > > My problem is how to save it in database table and reterive to perform some > mathmatical operation.All these varaibles have some fixed values which is > stroed in another table. > > Any help regardig this. > > > Regards, > > > > > > [Non-text portions of this message have been removed] >

