submitAllowed Attribute (adoAdapter Element)

Microsoft Office InfoPath

submitAllowed Attribute (adoAdapter Element)

Specifies whether data can be submitted to the data source through the submit method of the data adapter object.

Type

      xsf:xdYesNo
    

Remarks

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

Allowed values are "yes" and "no". The default value is "no".

Example

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

    <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>