I have acommand button that has the following on click
Private SubCommand213_Click()
Me.ServiceDate.Value= ""
Me.Employees.Value= ""
DoCmd.Requery
End Sub
The servicedatefield has a date picker with the follow two events.
Private SubServiceDate_Change()
DoCmd.Requery
End sub
Private SubServiceDate_GotFocus()
RunCommandacCmdShowDatePicker
End Sub
When I clickthe command button it will clear the date from the servicedate but the datepicker calendar will pop up to choose a date. I would like the calendar not to open when this command is clicked.
Thanks Angie