Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5 Date Time Picker - error 0x80020005
Message
From
29/09/2001 13:04:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00562267
Message ID:
00562268
Views:
22
>I am trying to implement the VFP 5 ActiveX Date/Time picker for the first time and the refresh is generating an error '0x80020005 Type Mismatch'.
>Initially, I used a date/time field as the control source with date() in the actual table, then I switched to a character containing '2001/09/29'.
>Can anyone offer any advice?
>TIA.

Allan,
It doesn't accept other than datetime. Directly binding it is problematic. Use an intermediate textbox IMHO (assigning value would be via DTPicker.object.value not DTPicker.value).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform