1. You can't have a 'elseif' followed by an 'If' because your 'elseif'
is already an 'If' statement2.FormCalc 'if' statement operators are used
as letters, so to have 'equal to' is 'eq', to have 'lower than' is 'lt',
to have 'greater than' is 'gt', to have 'lower or equal to' is 'le'...
etc... To assign a value to a field or variable you must use the '='
signIf (Field1 eq "A") then Field2 = "10"elseif (Field1 eq "B") then
Field2 = "8"elseif (Field1 eq "C") then Field2 = "6"endif
Hi,You should wrap your formula into an if expression.FormCalc will
always create under/overflows when you try to multiply or devide by 0.if
(fieldA ne 0 and fieldB ne 0) then ;add your formula here!endif