Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Null date return from MSSQL
Message
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00441181
Message ID:
00441271
Views:
13
Thanks Igor. But this still means I have to code similarly right?

If DateValue(RS.Fields("MyDateField")) = ""
txtShipDate.Value = ""
Else
txtShipDate.Value = RS.Fields("MyDateField").Value
End If



>
>Hi John,
>
>In VBA you can use function DateValue which gives the date part of the datetime value. Check Date part of the datetime value.
>
>HTH, Igor
It's "my" world. You're just living in it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform