Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized view using date type parameters
Message
From
10/11/1999 23:29:39
 
 
To
10/11/1999 20:31:10
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00289782
Message ID:
00289978
Views:
20
>>
>>Thanks Erik
>>
>>That works fine for me with local views, but fails on remote views to FP2.6 tables. I get an ODBC connectivity error - operator/operand type mismatch.
>>I can't find a way to get around that.
>>
>>Bill
>
>I have never used a remote view to a FP table, so I can't tell you the ins and outs. Maybe someone with more experience here will jump in.

Hi Erik
I found the answer in an obscure KB article - #Q157424. ODBC doesn't recognize the concept of an empty date. If you wish to query for empty dates in a remote view, instead of querying for {}, you query for the value {^1899-12-30}. ODBC uses that value to represent an empty date. I have tried it and it works.

Thanks Again
Bill
Previous
Reply
Map
View

Click here to load this message in the networking platform