Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assign TextBox with a NULL
Message
 
À
06/07/2000 07:15:56
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00388767
Message ID:
00388774
Vues:
8
>I would like to assign a TextBox.Text = Null, but couldn't.
>As this TextBox is used to store Date value, and I would like
>to set it to Null when there isn't any date to be set.
>Any clues, or better ideas?

You can't assign NULL to a control but you can insert NULL into the database tables: INSERT INTO Table1(F1,F2,F3) Values('Something',NULL,12345)

So instead of putting NULL into controls, put it during table updates!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform