>Sorry, I meant table1.field1+table1.field2+table3.field3
>
>Max
What exactly is the code of your program?
Here is how I do it in similar situations:
local lcFullStr
lcFullStr = field1+iif(...,field2,field3)+...
return m.lcFullStr
If it's not broken, fix it until it is.
My Blog