hey experts,
i keep getting this error "OLE IDispatch exception code 0 from DTPicker: Invalid Property Value."
i have the following code in the INIT event
thisform.dtp1.day=DAY(DATE())
thisform.dtp1.month=MONTH(DATE())
thisform.dtp1.year=year(DATE())
I read on the msdn site that if a value is assigned that creates an invalid date, one of the error messages above appears. This behavior occurs because the DateTimePicker control does not recognize {" / / "} as a valid date. In the DTPicker properties i have checked the format and everythings fine.The 'customformat' propery is set to "none"..
im stumped!!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only