Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3427844
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:53:13+00:00 2026-05-18T06:53:13+00:00

I have a sample file from a customer and need to match the schema

  • 0

I have a sample file from a customer and need to match the schema with data from various tables in my MS Database.

Tried writing a query and exporting the XML but it oversimplifies the XML and assumes that each row from the query is a single node and all the data elements fall under each instance of that node.

Is there a way to setup a schema (possibly build it by importing my sample file) and then map fields to that for the export?

I’m open to using Excel if by chance it is better suited – just figured the access relationships would be better.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T06:53:14+00:00Added an answer on May 18, 2026 at 6:53 am

    Perhaps you are looking for something like:

    Sub ExportCustomerOrderData()
    
        Dim objOrderInfo As AdditionalData
    
        Dim objOrderDetailsInfo As AdditionalData
    
    
    
        Set objOrderInfo = Application.CreateAdditionalData
    
    
    
        '' Add the Orders and Order Details tables to the data to be exported.
    
        Set objOrderDetailsInfo = objOrderInfo.Add("Orders")
    
        objOrderDetailsInfo.Add "Order Details"
    
    
    
        '' Export the contents of the Customers table. The Orders and Order
    
        '' Details tables will be included in the XML file.
    
        Application.ExportXML ObjectType:=acExportTable, DataSource:="Customers", _
    
                              DataTarget:="Customer Orders.xml", _
    
                              AdditionalData:=objOrderInfo
    
    End Sub
    

    From: http://msdn.microsoft.com/en-us/library/ff193212.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple NAnt build file, which attempts to perform an update from
I am implementing a very simple file database. I have 2 basic operations: void
i want to send a file from my iphone which have some strings to
I have the following sample code where I download a pdf from the European
So I have a task of reading from an xml file which contains a
We have a simple file browser on our intranet, built using ASP/vbscript. The files
I have implemented a simple file upload-download mechanism. When a user clicks a file
I have a simple WPF (XAML) file that has some animated shapes and text.
I have a problem with a simple included file. The file being included is
I have a simple report that I want to export to a CSV file.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.