Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Operator mismatch error
Message
From
07/12/2014 16:06:36
 
 
To
07/12/2014 15:48:39
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:
01611964
Views:
65
>>>>>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"
>>>
>>>How about this. I'm 69 years old and VFP is on the way to being a dead language. Both of us are pretty close to dead, so instead of teaching, how about a nice straight answer? ;-)
>>
>>I gave you one straight answer, namely to check the field types. I suggest that you try two Browses, one "BROWSE FOR noun = 3" and one "BROWSE FOR food". Then you will see which of the two gives an error.
>
>Thank you. I, being a geezer, missed that too. Being old is a nuisance

You're only 9 years older than me, meaning that you are still young.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform