Visual FoxPro ODBC Driver query fails if the date format is not the AMERICAN date format (229854)
The information in this article applies to:
- Microsoft ODBC Driver for Visual FoxPro (Build 6.01.8629.01) 6.0
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Visual FoxPro for Windows 7.0
- Microsoft Visual FoxPro 8.0
- Microsoft Visual FoxPro 9.0 Professional Edition
This article was previously published under Q229854 SYMPTOMS
When executing an ODBC query against Visual FoxPro tables using the Visual FoxPro ODBC Driver, no records are returned when the WHERE clause includes a date that is not in AMERICAN date format.
CAUSE
The Visual FoxPro ODBC Driver only accepts dates in a strict AMERICAN date format.
RESOLUTION
Convert any dates that are passed in WHERE clause of the SELECT-SQL statement to an AMERICAN date format.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 3/18/2005 |
---|
Keywords: | kbDatabase kbprb KB229854 |
---|
|