The DataObject Object

The DataObject object represents an association with a data adapter for a secondary data source. The DataObject objects in a document are contained in the DataObjects collection.

▸ To learn more about creating a secondary data source for a drop-down list form control, seeThe Drop-Down List Box Control,” p. 62 (Chapter 4).

InfoPath 2003 supports three types of data adapter:

  • The ActiveX Data Objects (ADO) data adapter, represented in InfoPath by the ADOAdapter object

  • The XML Web services data adapter, represented in InfoPath by the WebServiceAdapter object

  • The XML file data adapter, represented in InfoPath by the XMLFileAdapter object

DataObject Object Methods

The DataObject object has a single method, Query(), which is security ...

Get Microsoft® Office InfoPath™ 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.