954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

a default value in a text box

I'm converting from MS Access 2000 database to a Visual Basic front end with Microsoft Access back end.
In MS Access, I can give a text box a default value. For instance, I'd like a text box to default to the system date. I can't seem to find a way to do that.

chancellor
Newbie Poster
3 posts since Apr 2006
Reputation Points: 10
Solved Threads: 0
 

you have to do it in code on form_load, by setting the .text property to date.

Text1.text = date


For example.

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You