Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO and Grids
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00139861
Message ID:
00140696
Views:
27
>>No...
>>
>>The grid that ships with VFP can only be bound to VFP cursors.
>>
>>Two ActiveX Controls - MSFlexGrid and the MSHFlexGrid - the latter being for hierarchical recordsets - can be bound to ADO recordsets. However, this cannot be done inside of VFP - since VFP does not support ActiveX data binding.
>>
>>However, there is a solution. Why not create a VB ActiveX Control that contains the grid and does the data binding for you. Then, host the ActiveX control in VFP.
>>
>>My October Column in FoxTalk deals with this very issue.
>>
>>
>>< JVP >
>
>Thank you all for your time and assistance, I think I'll go the VB/Activex route, after I've read JVPs article of course.
>Regards
>
>Pete Kane ( flying the ADO flag in the UK )

I just downloaded the latest sample from MS on converting ADO recordsets to vfp and displaying in a grid. It can be downloaded at:
http://msdn.microsoft.com/vfoxpro/downloads/samples.asp
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform