How to: Export Data, Schema, and Related Tables to XML
Office 2007
| Access Developer Reference |
The ExportXML method can be used to export the data and formatting contained in a table, along with any additonal data that you specify.
To specify the additional data to export, you must must use the CreateAdditionalData method to create an AdditionalData object. Then, use the Add method to add additonal tables to export along with the main table.
The following procedure illustrates how to include additional data when exporting a table to XML. The Orders table is exported along with several other tables. The schema and the formatting are also exported as separate .xsd and .xsl files, respectively.
|