Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Operator mismatch error
Message
De
08/12/2014 09:13:00
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
07/12/2014 16:06:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01611955
Message ID:
01611981
Vues:
107
>>>>>>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.

Having met both you and Grady I'd say you're both not "old". :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform