Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO and FlexGrids
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00308953
Message ID:
00309027
Vues:
29
>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.

I could be way off on this, but I don't think the FlexGrid supports ADO binding.

When I work in VB (no snickering) and look at the components list, all the controls that support ADO binding have (OLEDB) after them. The FlexGrid does not. How about the DataGrid instead? It has (OLEDB) after it so visually shows that it supports ADO binding.

Michael P. Antonovich
Michael P. Antonovich, MCSD
Email: mike@micmin.com
MicMin Associates - Orlando, FL


Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform