Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Operator mismatch error
Message
From
07/12/2014 14:58:54
 
 
To
07/12/2014 14:50:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01611955
Message ID:
01611957
Views:
55
>BROWSE FOR noun = 3 AND food = .T.
>Worked fine in development testing (just running the form inside VFP.)
>
>Complied I get 'Operator operand type mismatch' error message.
>I have a feeling this is an easy fox fix, but I don't know it, so I am here for a little help, please.

Are you sure that the field types are correct?

And if they are, just a hint: No reason to compare a logical value against .T. (or .F.), just check the value. This will do the same: "BROWSE FOR noun = 3 AND food"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform