G Guest Mar 1, 2006 #1 When I used the drop down box on my form, I would like it to populate a time and date box.
K Ken Snell \(MVP\) Mar 1, 2006 #2 Use the AfterUpdate event of the combo box control to write the current time and date into textboxes on the form: Private Sub ComboBoxName_AfterUpdate() Me.TimeTextBoxName.Value = Time() Me.DateTextBoxName.Value = Date() End Sub
Use the AfterUpdate event of the combo box control to write the current time and date into textboxes on the form: Private Sub ComboBoxName_AfterUpdate() Me.TimeTextBoxName.Value = Time() Me.DateTextBoxName.Value = Date() End Sub