Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO Recordsets
Message
 
À
18/11/2002 08:19:01
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00723792
Message ID:
00723797
Vues:
16
Hi Don,

All you need to do in order to bind your form controls with the ADO Recordset fields is to populate the ControlSource property with the right expression.

Suppose you have a custom property of your Form called "oData" which will maintain a reference to your ADO Recordset. In the ControlSource of a given control you could have something like:
Thisform.oData.Fields(1).Value
This would bring the first field of the Recordset. You can also use the field name:
Thisform.oData.Fields("FieldName").Value
-----
Fabio Vazquez
http://www.fabiovazquez.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform