Application.SaveAsAXL method (Access)

Exports the specified object to an Application XML (AXL) file.

Syntax

expression.SaveAsAXL (ObjectType, ObjectName, FileName)

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
ObjectType Required AcObjectType Specifies the type of object to export.
ObjectName Required String Specifies the name of the object to export.
FileName Required String Specifies the full path and file name of the AXL file to create.

Remarks

The SaveAsAXL method does not provide a warning when the file specified in the FileName argument already exists. If this occurs, the file will be overwritten.

The SaveAsAXL method generates a run-time error if the current database is not a web database.

For more information about AXL, see [MS-AXL]: Access Application Transfer Protocol Structure Specification.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.