Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO and FlexGrids
Message
De
27/12/1999 19:52:16
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00308953
Message ID:
00309019
Vues:
30
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform