Auto Insert Date by Ticking Check Box?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there, i have a tick box in my form called:

resolved_tick_box

I want to have it so that when i tick this box, it inserts the current date
into my text box, called:

txtSelectDate

Im a coding novice, and just getting into this, so if possible, tread
carefuly ;) -thanks alot,

Neil
 
Hi,


Under its onClick event procedure, add code like:



Me.NameOfTheTextBoxToBeUpdated = Now( )




That's it. The keyword Me is not required, but typing it, intellisence
should kick in, where you should be able to locate the text box name...
avoiding typo error..




Hoping it may help,
Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top