Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keep getting missing operand
Message
From
07/06/2006 22:13:21
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01127695
Message ID:
01127754
Views:
13
>>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform