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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DateTime Picker (MSCOMCT2.OCX) with VFP 5

Status
Not open for further replies.

GabovitchE

Programmer
Jan 16, 2000
6
0
0
US
I can place the Control on a form and run it. The problem is I can't set the ControlSource property - I get OLE data type mismatch error.<br>
<br>
How do I get past this problem, or use a different approach to getting/setting the date (or time) for this control?<br>
<br>
Thanks!!!!!!!!
 
Reference hidden attributes directly:<br>
Time:<br>
ThisForm.DTPicker1.Object.Hour<br>
ThisForm.DTPicker1.Object.Minute<br>
ThisForm.DTPicker1.Object.Second<br>
<br>
Date:<br>
ThisForm.DTPicker1.Object.Month<br>
ThisForm.DTPicker1.Object.Day<br>
ThisForm.DTPicker1.Object.Year<br>
<br>
<br>
<br>
<br>
<br>

 
Reference hidden attributes directly:<br>
Time:<br>
ThisForm.DTPicker1.Object.Hour<br>
ThisForm.DTPicker1.Object.Minute<br>
ThisForm.DTPicker1.Object.Second<br>
<br>
Date:<br>
ThisForm.DTPicker1.Object.Month<br>
ThisForm.DTPicker1.Object.Day<br>
ThisForm.DTPicker1.Object.Year<br>
<br>
<br>
<br>
<br>
<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top