I am sorry if this question is obvious but I have searched the help file and forum and cannot find an answer that relates to my question. Please can someone help me?
I have three fields: Field1 Field2 Result I am using the following code that is executed when the user leaves each field
Code: Select all
on closefield
if the text of fld "Field1" is a number or the text of fld "Field2" is a number then
put fld "Field1" + fld "Field2" into fld "Result"
End if
end closefield
I hope you can understand what I am trying to do... my finished application will have the requirement to perform a number of maths calculations in script and I only want to edit this script if it has an error in one place.
Any help appreciated....
Thanks