Application.ImportXML Method
Office 2007
| Access Developer Reference |
Syntax
expression.ImportXML(DataSource, ImportOptions)
expression A variable that represents an Application object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| DataSource | Required | String | The name and path of the XML file to import. |
| ImportOptions | Optional | AcImportXMLOption | A AcImportXMLOption constant that specifies the option to use when importing XML files. The default value is acStructureAndData. |
Return Value
Nothing
Example
The following example imports an XML file into a new table named Employees in the current database.
| Visual Basic for Applications |
|---|
|
See Also