Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX Control - DatePicker 1

Status
Not open for further replies.

Survane

MIS
Jul 3, 2002
74
US
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.
 
I have an aversion to any Active X control especially if the database is scheduled for deployment. Take a look at the following page. This may meet your needs. I use it instead of the calendar controls.

Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top