Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Migrating date fields to datetime
Message
From
28/05/2002 15:05:53
 
 
To
28/05/2002 13:32:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00662090
Message ID:
00662129
Views:
21
Alejandro

You should also be aware that if you have any blank date fields that they will be changed to 12/30/1899 or possibly 1/1/1900 in SQL Server, since ODBC has no concept of blank dates.

As far as changing code globally, you can use GOFISH app from downloads to search for occurrences of specific text and change it using its edit capabilities. Much faster and less error prone than manually searching and editing multiple files.

Or, as Sergey suggested, you can map your datetime fields to date data type in your remote views and your code needs no changes except to handle the blank dates being replaced with a default date.

HTH
Elmer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform