Importing Data With Non-Access Naming Conventions

G

Guest

I am importing an xml document into Access 2003. The only problem is the xml
document (which is actually an Adobe Premiere project, if anyone is familiar
with those) uses naming conventions for fields that Access doesn't like -
e.g. "AudioSettings.Compile".

Is there any way around this? At present, I am importing only the tables of
the xml schema that I need into an Excel spreadsheet, and then linking the
table in the Access database, but I would much rather be able to import all
the tables into the database from within Access.
 
J

John Vinson

I am importing an xml document into Access 2003. The only problem is the xml
document (which is actually an Adobe Premiere project, if anyone is familiar
with those) uses naming conventions for fields that Access doesn't like -
e.g. "AudioSettings.Compile".

Is there any way around this? At present, I am importing only the tables of
the xml schema that I need into an Excel spreadsheet, and then linking the
table in the Access database, but I would much rather be able to import all
the tables into the database from within Access.

Is there some way you can force adobe to bracket the fieldnames? It's
a Bad Idea to have periods in fieldnames, since the period is a key
delimiter, but you *should* be able to get away with a field named

[Audiosettings.Compile]

provided you shield it with square brackets.

If you can *link* to the xml, you might want to consider creating your
tables with valid fieldnames, and running Append queries to migrate
the data from XML into Access.

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top