Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

useQueryAdapter Element

Office 2007

Specifies that the form is to be submitted to the same data adapter as specified in the query element.

Type

xsd:complexType

Remarks

The useQueryAdapter element is an optional element of the submit element.

The query element used is the one that is the child element of the xDocumentClass element, not the query element that is a child of the dataObject element.

The useQueryAdapter element does not contain any attributes or child elements.

Example

The following is an example of the useQueryAdapter element:

<xsf:submit
   caption="Su&amp;bmit"
   disableMenuItem="no"
   onAfterSubmit="KeepOpen"
   showStatusDialog="yes"
   showSignatureReminder="yes">
   <xsf:useQueryAdapter/>
   <xsf:successMessage>Submit was successful.</xsf:successMessage>
   <xsf:errorMessage>Submit was not successful.</xsf:errorMessage>
</xsf:submit>


Community Additions

ADD
Show:
© 2015 Microsoft