Export XML

R

RobKaratzas

Hi Folks

Access is having problems (with a fully functional report) exporting it to
XML.

Neither a manual Report Export as XML works (nor does the manual effort):

Sub RptExport()
Application.ExportXML ObjectType:=acExportReport, _
DataSource:="MyReport", _
ImageTarget:=".", _
PresentationTarget:="MyReport.xsl", _
OtherFlags:=acPersistReportML
End Sub

1. Tried compact and repair (just fine)
2. Imported to an empty .MDB (just the table and report)
3. The module throws a:

'Run-time error '2950''

and the manual process gives me:

"Microsoft Access was unable to export the data"

This is critical for me, since I need to import the report into SQL Server
Reporting Services and this is a show-stopper.

Rob
 

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