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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

?Current Date to pull information

Status
Not open for further replies.

yakdogs

Programmer
Aug 13, 2002
40
US
I have a form with a date field that I am trying to set up so that it only pulls in the current date information OnLoad.

Can someone give me a sample?

Thanks
 
Is this what you are looking for?

I am missing something but cannot figure it out.


Private Sub Form_Load()
txtDate.Value = Now()
End Sub
 
Hi,

In form's design view for
txtDate put for ControlSource Property: =Now()
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top