Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populating a text box

Status
Not open for further replies.
Jul 1, 2004
28
US
Hello,
I am trying to populate a text box with todays date. So far I have captured the current date in a string variable, but I am having trouble finding out how to set the text box to that string. I thought there would be some sort of SetText function but I am not seeing it....any ideas? Thanks!!
 
Thanks for the reply....that will work...but I want today's date entered into the text box only when the button is clicked. Any more ideas? :)
 
In the Click event procedure of the button:
[textbox name].Value = Date()

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top