J
jeffreyswilson
I have been able to add a nice popup calendar when I click into a data
field on my Access 2003 form. But the date only gets placed into the
field once I move out of the field and into another. I would like it
to populate the field as soon as I click on the date in the calendar.
Can someone tell me what I am doing wrong? Here is my code:
TrainingDateCal.Visible = True
TrainingDateCal.SetFocus
If Not IsNull(Training_Date) Then
Training_Date.Value = TrainingDateCal.Value
Else
TrainingDateCal.Value = Date
End If
Thanks very much in advance!
Jeff Wilson
field on my Access 2003 form. But the date only gets placed into the
field once I move out of the field and into another. I would like it
to populate the field as soon as I click on the date in the calendar.
Can someone tell me what I am doing wrong? Here is my code:
TrainingDateCal.Visible = True
TrainingDateCal.SetFocus
If Not IsNull(Training_Date) Then
Training_Date.Value = TrainingDateCal.Value
Else
TrainingDateCal.Value = Date
End If
Thanks very much in advance!
Jeff Wilson