exporting an access query to XML using an external stylesheet or (

A

Armele look

Application.ExportXML _
ObjectType:=acExportQuery, _
DataSource:="QueryName", _
DataTarget:="Where you want the file to go" & "\FileName" & ".xml"
Application.TransformXML _
DataSource:="Where the file is currently located" & "\FileName" &
".xml", _
TransformSource:="\Location of your XSL file" & "\Name of your XSL file"
& ".xsl", _
OutputTarget:="Where you want to export your data to " & "\The Name of
the New File" & ".xml"



Please not the XSL file must match the data source.


Good luck
--
armele look

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...-9312-b98656cd8814&dg=microsoft.public.access
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top