Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Operator mismatch error
Message
De
08/12/2014 01:19:32
 
 
À
08/12/2014 01:17:09
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
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:
01611969
Vues:
54
>>>>>>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.
>>>>>
>>>>>noun is not an number or food is not a boolean. Looks like a cursor / table is in focus while you expect a variable (or the other way around)
>>>>>
>>>>>preface noun / food with m. or the alias you expect.
>>>>
>>>>Thank you for the reply.
>>>>
>>>>I double checked and Noun is a numeric field and Food is a logical field.
>>>>There is only one table being used and I am not using a cursor.
>>>
>>>Aside from Tores message
>>>
>>>Try
>>>
>>>NewVar =  noun = 3 
>>>NewVar =  food = .T.
>>>BROWSE FOR noun = 3 AND food = .T.
>>>...
>>>
>>>maybe you come a step closer ...
>> .. to a new syntax ?
>
>Hi Gregory,
>it seems to be to early in the morning, please explain my wrongdoing. :)

NewVar ?
>>>NewVar =  noun = 3 
>>>NewVar =  food = .T.
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform