Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC Default Date
Message
 
To
10/04/2001 12:24:39
Frank Cavone
Monetary Management of Ny, Inc.
Albany, New York, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00494059
Message ID:
00494061
Views:
14
>i am using a SQL Server database.
>
>i have a view that reformats a sql - datetime datatype to a vfp date datatype.
>
>the default value in sql is null. when i save a record with an empty date it is automatically saved as 01/01/1900.
>
>is their a way to get around this problem. it may be something with ODBC, but we are not sure.
>
>tia
>frank

Frank,

I personally think it's something with ODBC. We use Crystal Reports which accesses our VFP data through the ODBC driver. If a blank date field is encountered, it gets returned as a date value of 12/30/1899.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Previous
Reply
Map
View

Click here to load this message in the networking platform