Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Operator mismatch error
Message
From
08/12/2014 01:19:32
 
 
To
08/12/2014 01:17:09
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
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:
01611969
Views:
56
>>>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform