+ Reply to Thread
Results 1 to 3 of 3

Trying to export a report to .XML file but no data being included in the file

  1. #1
    Registered User
    Join Date
    07-09-2012
    Location
    UK
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    35

    Trying to export a report to .XML file but no data being included in the file

    Hi i have been trying to export a report and or the query the report is linked to but when i run the code i just get a blank xml file with no data in it. The data is in the query and report if you open them.
    here is the code i am using

    Application.ExportXML acExportReport, "Site_Work_Report", "C:\Test.xml"

    does anyone know what i am doing wrong?

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,811

    Re: Trying to export a report to .XML file but no data being included in the file

    Look here:

    http://stackoverflow.com/questions/1...-to-xml-access
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    07-09-2012
    Location
    UK
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    35

    Re: Trying to export a report to .XML file but no data being included in the file

    I have tried these method and it is still only creating a file without the Data, even if i try to manually export through access 2007 interface it doesnt include the data,

    Does anyone know where this will be?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1