Condividi tramite


Object and Data Integration

In most applications, you can best utilize the power of Visual FoxPro by integrating objects and data. Most Visual FoxPro classes have properties and methods that allow you to integrate the power of a relational database manager and a full object-oriented system.

Properties for Integrating Visual FoxPro Classes and Database Data

Class Data properties
Grid RecordSource, ChildOrder, LinkMaster
All other controls ControlSource
List box and combo box ControlSource, RowSource
Form and form set DataSession

Because these data properties can be changed at design or run time, you can create generic controls with encapsulated functionality that operate on diverse data.

For more information about integrating data and objects, see Creating Forms, and Using Controls

See Also

Writing Class Definitions Programmatically | Data Storage with Objects | Arrays of Members and Objects | Object Reference Creation | Object-Oriented Programming