Results 1 to 3 of 3

Thread: Export to xml

  1. #1
    Join Date
    Feb 2015
    Location
    Manchester
    Posts
    11

    Unanswered: Export to xml

    Hi

    I have a client that requires fields to be exported as a xml how would this be done via a button in the system ?

  2. #2
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    495
    Provided Answers: 24
    on the button_click event

    DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12Xml, Table, File, True

  3. #3
    Join Date
    Jul 2012
    Location
    Ireland
    Posts
    815
    Provided Answers: 17
    Hello.
    You need to create a Template.
    Go to... “File” then “Export/Send” then “Export to Text file”.

    This will make a Wizard popup and you can set it to export to a XML document. It's really straight forward.

    Once created, you can add a button on your form that runs the Export action. From this you can select the template you created.

    Regards
    James

Posting Permissions

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