Avatar of durick
durickFlag for United States of America asked on

Access 2003 XML import not importing all columns

using following vba code to import an xml file into Access 2003
Application.ImportXML _
 DataSource:=strImportFileName, _
 ImportOptions:=acStructureAndData


the xml file opens correctly in excel, but in access it only imports 6 columns, as shown
have tried using the .xsl file but it gives an error that '>' character was expected?

Tired of raking my brain another day on this problem
Clipboard01.jpg
test732.inftab.xml
INFO-TABLE-X01.xsl
Microsoft Access

Avatar of undefined
Last Comment
Scott McDaniel (EE MVE )

8/22/2022 - Mon
Jeffrey Coachman

What happens if you jut create the XML file for that one table?

How are you exporting the data?

Where is the XLM data coming from (Excel, Web, Other?)
ASKER
durick

test732inftab.xml is the xml file  for just the information table, all 16 columns
it was created in Access 2003 vba with dom document commands
Jeffrey Coachman

Yes,  but the xml file contained other tables...
Create an xml file with only one table...


<it was created in Access 2003 vba with dom document commands >
What about just using the wizard to export...
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER
durick

can you see what other tables are contained in the test732inftab.xml file? because it opens fine in excel
ASKER CERTIFIED SOLUTION
Scott McDaniel (EE MVE )

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question