useQueryAdapter Element
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&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>