>>You forgot to put ';' at the end of the 2 first lines to indicate that statement continues.
>>
>>>I know this is a stupid question, but I keep getting a message saying "missing operand" when I hit close on my code window. Here is the code:
>>>
>>>
>>> IF ((ALLTRIM(thisform.txtven.value) != thisform.vendorhold) OR ;
>>> (ALLTRIM(thisform.txtpono.Value) != thisform.ponohold) OR ;
>>> (ALLTRIM(thisform.txtactamt.Value) != thisform.actamthold))
>>>
>>>
>
>I knew I would forget the obvious after beng away a few years of fox coding.
Whenever it errors out, look carefully at the lines which are highlighted... and pay attention to the lines which are not highlighted. This probably highlighted only the first line, and you thought you had a three-line command.