Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Olecontrol (from DBI)
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Olecontrol (from DBI)
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01154001
Message ID:
01154001
Views:
70
Hi All,

Haven't found any documentation on this but the api is intuitive enough.

I am using the activeX control (olecontrol) from dbi to display data in a grid. Trouble is geting to sort date columns correctly as dates not as char strings.

control.lvAddItem(Str(date - CTOD("01/01/1900")) followed by setting control.lvColumnDataType(column) = 3 does the job. BUT...

It displays the date in the date:time format. Any ideas how to turn off the time part? The user is not interested in seeing that part, only want to see the date.

Thank you

Regards

Mathias
Mathias Banda

Time is longer than a rope.
Next
Reply
Map
View

Click here to load this message in the networking platform