Application.SaveAsAXL Method (Access)

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

Version Information

Version Added: Access 2010

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 filename 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.

See Also

Concepts

Application Object Members

Application Object