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 Rhinorhino 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
Joined
Aug 13, 2002
Messages
40
Location
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
 
Post the record source for your form.

Jim DeGeorge [wavey]
 
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