Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Null date return from MSSQL
Message
 
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00441181
Message ID:
00441271
Vues:
8
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform