Application.SaveAsAXL Method (Access)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

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 filename of the AXL file to create.

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.

Show: