name Attribute (dataObject Element)
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

name Attribute (dataObject Element)

Office 2007

The unique name for the data object.

Type

xsf:xdTitle

Remarks

The name attribute is a required attribute of the dataObject element.

Example

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

<xsf:dataObjects>
   <xsf:dataObject 
      name="EmployeeNames" 
      schema="EmployeeNames.xsd" 
      initOnLoad="yes">
      <xsf:query>
         <xsf:adoAdapter 
            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>
		</xsf:dataObject>
	</xsf:dataObjects>


Show:
© 2016 Microsoft