Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO Recordsets
Message
 
To
18/11/2002 08:19:01
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00723792
Message ID:
00723797
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform