I am using the DatePicker control to change a date in a form. I keep getting a runtime error 2101, that the "setting entered isn't valid for this property"
My code is:
Private Sub XDatePicker_Updated(Code As Integer)
Me.MyDate.value = Me.XDatePicker.value
XDatePicker.Visible = False
End Sub
Would I be better off using the calendar control?
Thanks.
My code is:
Private Sub XDatePicker_Updated(Code As Integer)
Me.MyDate.value = Me.XDatePicker.value
XDatePicker.Visible = False
End Sub
Would I be better off using the calendar control?
Thanks.