
compare two fields values
To compare to fields shouldn't you be using an IF statement as in
If (field1.value = field2.value) then
Proc1
else
Proc2
End If
I believe your code (Field3.value = field1.value + field2.value) is
concatenating the string values from field1 and field2 and putting the resulting
string into Field3.
--
Richard Dill - Forum Host
Software Development Forum - ComputingCentral
http://computingcentral.msn.com/forums/softwaredevelopment