Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Operator/Operand type mismatch error.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00027068
Message ID:
00027069
Views:
29
>The following statement works fine in Microsoft Query (accessing a SQL Server database):
>
>SELECT claim_number FROM DEDUCTIONS WHERE voucher_date=04/09/97
>
>It produces an Operator/Operand type mismatch error in VFP 5.0.
>
>The voucher_date field is type DateTime on the SQL Server.
>
>Any ideas?
>
>Jeff

This should work if voucher_data is Date field:
>SELECT claim_number FROM DEDUCTIONS WHERE voucher_date={04/09/97}
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform