Show All

# XdDocumentVersionMode Enumeration

The XdDocumentVersionMode enumeration is used to determine how a Microsoft Office InfoPath 2003 form will be opened. These enumerated values are used as arguments to the New and Open methods of the ExternalApplication object.

Name | Value | Description
--- | --- | ---
xdCanOpenInReadOnlyMode | 8 | The form is opened in read-only mode.
xdCanTransformSigned | 16 | The form is opened and its transform applied, even though it has a digital signature.
xdFailOnVersionMismatch | 0 | The form is created or opened only if it is accessible and its version number matches the version number of the form template.
xdFailOnVersionOlder | 1 | The form is created or opened only if it is accessible and its version number is not older than the version number of the form template.
xdIgnoreDataAdaptersQueryFailure | 64 | The form is opened even if the query associated with its data adapter fails to return data.
xdPromptTransformSigned | 32 | The form is opened and the Digital Signatures dialog box is displayed before the form's transform is applied.
xdUseExistingVersion | 2 | The form is created or opened using the existing version number of the form template.

©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