Microsoft Access
  Home arrow Microsoft Access arrow Page 3 - Importing XML into MS Access 2003
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MICROSOFT ACCESS

Importing XML into MS Access 2003
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 8
    2006-07-25

    Table of Contents:
  • Importing XML into MS Access 2003
  • Importing the file into MS Access 2003
  • Importing the same file into Excel 2003
  • One more time

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Importing XML into MS Access 2003 - Importing the same file into Excel 2003


    (Page 3 of 4 )

    The premise for this attempt at importing is that all Office products, especially the 2003 vintage, have strong support for XML. The XML import steps from MS Excel are similar to the ones from MS Access, and will not be repeated except to show what happens when the import button is clicked after following the trail Data-->XML--> Import.... The next MS Excel message window pops up saying that the XML is lacking a schema and offers to create one. This is in Microsoft's best tradition of being user friendly.

    Clicking OK to this message will bring up the cell locator where you want to park your data as shown. It does not, however, describe how the schema looks. You have the option of creating a new worksheet or using an existing worksheet.

    Since there is only one worksheet in this otherwise blank XLS file, the option to click the OK button was taken. This brings in the data with every detail in it as shown. Now you see that not only did it bring in the child nodes correctly, it also brought in the student node details correctly. The XLS file is saved to xml.xls (it is saved to My Documents by default).

    Now if you import the xml.xls file into MS Access you will get the complete information because it now happens to be an Excel table import. This is no different from importing worksheet data to MS Access.

    More Microsoft Access Articles
    More By Jayaram Krishnaswamy


       · Access 2003 does not seem to do a good job, but MS Excel does. Now you have a two...
     

    MICROSOFT ACCESS ARTICLES

    - Linking SQL Express 2005 Tables to MS Access...
    - Working with Access Projects in Access 2007
    - Exploring Access 2007
    - Working with Stored Procedures in an MS Acce...
    - Creating and Using Action Queries
    - Creating Data Access Pages with Charts using...
    - Advanced Ideas using VBA
    - VBA Details
    - Updating Records in MS Access
    - Using ADO`s Record Object with URLs
    - Exporting XML from MS Access 2003
    - Importing XML into MS Access 2003
    - On Using Pass-through Queries in MS Access
    - Distributed Queries in MS Access
    - Configuring a Linked Microsoft Access Server...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT