Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Null date fields in an SQL Table
Message
From
21/08/2002 22:54:05
 
 
To
21/08/2002 14:06:37
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00692118
Message ID:
00692312
Views:
35
When you browse the view does the date field show NULL, Blank date or {01/01/1990}?

If it is showing the NULLS or an empty value, you may find that the date input mask is your problem. Just a SWAG, but try removing the input mask from the control that displays the date. The input mask may be changing the NULL to a blank date as you scroll through the view with a blank date being sent back to SQL Server. In ODBC for SQL Server, blank dates translate to 01/01/1990, In VFP database, they translate to 12/30/1899.

Hope this helps
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform