Exporting an Access Report to an XML Data File with ASP : XML Export « XML « VBA / Excel / Access / Word






Exporting an Access Report to an XML Data File with ASP

 

Sub Export_InvoiceReport() 
     Application.ExportXML ObjectType:=acExportReport, _ 
                 DataSource:="Invoice", _ 
                 DataTarget:="C:\Invoice.xml", _ 
                 PresentationTarget:="C:\Invoice.xsl", _ 
                 ImageTarget:="C:\Learn_XML", _ 
                 WhereCondition:="OrderID=11075" 

End Sub 

 








Related examples in the same category

1.Exporting Multiple Tables to an XML Data File