Information générale
Catégorie:
Codage, syntaxe et commandes
It depends on how do you get data from Sql Server. In particular you may :
- use datepart Sql function;
- set format to dislay data in, say, textbox on the form
etc..
>I have some fields in a SQL Server database that are datetime, but I only want to display the date part for data entry purposes. I realize I could subclass my text boxes to handle that with moving around the controlsource and other things, but I was wondering if there was a way to do it with some property and environment settings. Thanks!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement