Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Operator mismatch error
Message
De
07/12/2014 15:48:39
 
 
À
07/12/2014 15:35:33
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:
01611962
Vues:
57
>>>>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
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform