Information générale
Catégorie:
Contrôles ActiveX en VFP
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement