Show All

# dataFormSolution Attribute

Identifies the form as a database form.

## Type

    xsf:xdYesNo

## Remarks

The dataFormSolution attribute is an optional attribute of the xDocumentClass element.

Allowed values are "yes" and "no". The default value is "no". Forms based on ActiveX Data Objects (ADO) or Web services and that have a special query view should have this attribute set to "yes" to work properly in Microsoft Office InfoPath 2003.

## Example

The following is an example of the dataFormSolution attribute as it is used in the xDocumentClass element:

    <xsf:xDocumentClass
       xmlns:xsf="http://schemas.microsoft.com/office/infopath/2003/solutionDefinition"
       name="urn:microsoft-com:myTravelReport"
       author="AuthorName"
       description="Travel Report form for entering travel reports, issues, expenses, etc."
       dataFormSolution="yes"
        solutionVersion = "1.0.0.1"
       productVersion="11.0.5106"
       solutionFormatVersion="1.0.0.0">
       ...
    </xsf:xDocumentClass>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp