Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assign TextBox with a NULL
Message
 
To
06/07/2000 07:15:56
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00388767
Message ID:
00388774
Views:
9
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform