Information générale
Catégorie:
Contrôles ActiveX en VFP
Hi Mark,
No, you have not missed anything. The datasource property, while not available in the property sheet, is available at runtime. After you create your ADO Recordset, issue code like this:
ThisForm.msflexgrid.Datasource = oRecordset
Good luck!!
>I've upgraded VFP 6 with SP3 not only to fix problems but also to take advantage of some of the new features: specifically support for the MSFlexGrid & MSHFlexGrid ActiveX components.
>
>I would like to use these (and other ActiveX components) to view ADO Recordset WITHOUT having to convert them to cursors. Inside VB, one of the properties inherent to both controls is a 'DataSource' which points to the recordset; however, that property doesn't show up inside the VFP property window (or the components native property page).
>
>Did I miss something? According to info from M$, support for these components was added in SP3.
>
>Any suggestions are welcome.
>
>Mark
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