Error Using Date Field in Database Query Using ODBC |
Q110215
In Word version 6.0 for Windows, an error message or an incorrect date formats generated when you specify a date/time field as part of a database query using ODBC.
Word passes dates and times to the ODBC drivers in an incorrect format.
Microsoft has confirmed this to be a problem in Word for Windows versions 6.0, 6.0a, and 6.0c. This problem was corrected in Word version 7.0 for Windows 95.
To work around this problem:
Choosing OK results in:ODBC ERROR:
Stop -- Syntax Error
Choosing Details results in:ODBC ERROR
Stop -- SELECT "OrderDate", "OrderID" FROM "ORDERS" WHERE (("OrderDate" > #12<<???>>/31/93#))
ODBC ERROR:[Microsoft][ODBC Single-Tier Driver]
Stop -- SELECT "OrderDate","OrderID" FROM "ORDERS" WHERE (("OrderDate" > #12<<???>>/31/93#))
Additional query words: 6.0 b_waccess foxpro access word6 6.0a 6.0c winword
Keywords :
Issue type :
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |