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

Button to insert date in text box - Thats it :)

Status
Not open for further replies.

Bleak

IS-IT--Management
Jun 5, 2002
2
AU
I simply need a command button, that when pressed, will insert the date on a NEW line within a text box.

i have NO idea how to make the button somehow point to the test box

Just a Lamer who neds some help

Thanks anyone who can help :)

Bleak

Acess 2000 by the way
 
try this:

in VBA behind the on click property for the button chuck in "me.textbox.value = now()"

You may be able to use date() but i think i have heard around the traps that it cant be used in access2000...

cheers
me.
 
If you just want the date, use Me!textboxname=Date(). Date() can be used in 2000. "As far as the laws of mathematics refer to reality, they are not certain; as far as they are certain, they do not refer to reality."--Albert Einstein [spin]

Robert L. Johnson III, A+, Network+, MCP
Access Developer/Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top