Application.LoadFromAXL (Access)

Imports the object defined in an Application XML (AXL) file into the database.

The LoadFromAXL method does not provide a warning when the object specified in the ObjectName argument already exists. If an object of the same name already exists, it will be replaced by the object specified in the ObjectName argument. For more information about AXL, see [MS-AXL]: Access Application Transfer Protocol Structure Specification.

LoadFromAXL (ObjectType, ObjectName, FileName)


Dim strObjectName As String: strObjectName = 
Dim strFileName As String: strFileName = 
LoadFromAXL ObjectType:=acDataAccessPage, ObjectName:=strObjectName, FileName:=strFileName

Arguments

The following arguments are required:

ObjectType (AcObjectType) - Specifies the type of object to create.

Here you can find possible values for AcObjectType

ObjectName (String) - Specifies the name of the object.

FileName (String) - Specifies the full path and file name of the AXL file to import.