Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO and FlexGrids
Message
From
27/12/1999 19:52:16
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00308953
Message ID:
00309019
Views:
31
Try refreshing after grid instanciation. Maybe grid instanciating before record set is populated with data. Also, if your using the flex grid for data shaping you need to have proper datashape provider in conn string.
I've been using ADO with VB for awhile now and can't live without the WROX press ADO programmer's Reference, it's worth the trip the book store. Get the 2.1 not 2.0
Jeff

>Are you using VFP 6.0 SP 3? To answer your question - yes, VFP can make use of the grids you list, but you need to use SP 3 - that was the release that gave use Recordset binding....
>
>>Can VFP use FlexGrids/HFlexGrids or oleDB grids. I instantiate an ADO recordset (6 records). I set the datasource of the flexgrid to the ADO control. I run the form. I get no errors. I see no data.
>>
>>ThisForm.oRS = CREATEOBJECT()
>>ThisForm.oleControl3.DataSource = ThisForm.oRS && FlexGrid
>>
>>Recordset is created B4 grid.
>>Grid's datasource is set in forms Activate.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform