Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
01/01/1900 and blank dates
Message
 
To
23/10/2004 11:37:45
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00953996
Message ID:
00954001
Views:
18
Hi Tek,

ODBC driver don't know convert empty VFP date to .NULL. value
- Field in table must set Allow Null values.

Using with SPT:

ldDate=.NULL.
?SQLEXEC(lihdbc,"UPDATE XXT000 SET Field_Date=?ldDate")


Using with remote view:

SELE remote_view_alias
RELACE field_date with .NULL.
?TABLEUPDATE()


MartinJ

>Hi all
>
>Would greatly appreciate if anyone has a solution to display blank dates correctly in VFP when the date in MSSQL is NULL?
>
>In addition how could we send a NULL date back to MSSQL when a date textbox shows blank date?
>
>Thanks & Best Regards
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform