set the date to be date of today when action successful is ticked

G

Guest

I've got a form with 16 actions for customers and when the customer is
entered all these 16 actions (records) are entered but action successful is
not ticked and the date of action is automatically the date the actions were
entered. When action successful is ticked i change the date to the date of
that day i.e. date(). Is there any automatic way that after updating Action
Successful the date should change to the date()
 
G

Guest

Assuming the text box for the date is named txtCompleted, in the After Update
event for the check box:

Me.txtCompleted = Date

To do this, in form design view right click the check box, click Properties,
click the Event tab, click After Update, click the three dots, click Code
Builder, click OK, and enter the code.

The date will change any time the user clicks the box, so you may want to
disable the check box once it is checked (or something like that).
 
G

Guest

Thanks for your help - that did it!

BruceM said:
Assuming the text box for the date is named txtCompleted, in the After Update
event for the check box:

Me.txtCompleted = Date

To do this, in form design view right click the check box, click Properties,
click the Event tab, click After Update, click the three dots, click Code
Builder, click OK, and enter the code.

The date will change any time the user clicks the box, so you may want to
disable the check box once it is checked (or something like that).
 

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

Top