Date field linked to a check box

Cat

Registered User.
Local time
Today, 23:06
Joined
May 8, 2002
Messages
19
In creating a form for Inventory shipping - I want to choose the check box when the item is shipped or back ordered and automatically have the date pop into a field beside the check box. What is the best way to do this?

Thanks
 
In the On Click event of the check box, put this code and to keep from having problems, make sure that your text box name is different than the field that it is bound to.

txtMyDateTextBox = Date

you may have to go with

txtMyDateTextBox.Value = Date

Oh, I forgot to say that the word Date IS exactly what you type there and you can leave the () off of it as it will automatically remove it anyway. Replace my txtMyDateTextBox with your actual text box name.

BL
hth

[This message has been edited by boblarson (edited 05-08-2002).]
 

Users who are viewing this thread

Back
Top Bottom