name attribute (adoAdapter element)

Microsoft Office InfoPath

Show All Show All

name attribute (adoAdapter element)

Contains the name of the adoAdapter element.

Type

xsf:xdTitle

Parent Elements

Element Description
adoAdapter Defines an ActiveX Data Objects (ADO) data adapter that retrieves data from an ADO data source for the specified data object.

Definition

    <xsd:attribute name="name" type="xsf:xdTitle" use="optional" ></xsd:attribute>
  

Remarks

The name attribute is an optional attribute of the adoAdapter element.

Example

The following is an example of the name attribute as it is used in the adoAdapter element:

    <xsf:query>
   <xsf:adoAdapter name="EmpInformation"
      connectionString="Provider=Microsoft.Jet.OLEDB.4.0;
         Password=&quot;&quot;;User ID=Admin;
         Data Source=infnwind.mdb;Mode=Share Deny None;
         Extended Properties=&quot;&quot;;..."
      commandText="select [EmployeeID],[LastName],[FirstName] 
         from [Employees] as [Employees]" 
      queryAllowed="yes"
      submitAllowed="yes">
   </xsf:adoAdapter>
</xsf:query>