473,396 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ImportXML Method

A2K2
If I use:
Application.ImportXML "MyFile.XML", acStructureAndData
I get a table in my database, not ncessarily called "MyFile". So without
building an array of tables then comparing afterwards, how do I find out
what table was created just then?

Any way there's a chance of linking to an XML file?
Nov 13 '05 #1
3 5850
On Tue, 05 Oct 2004 17:26:01 +0100, "Trev@Work" <no.email@please>
wrote:
A2K2
If I use:
Application.ImportXML "MyFile.XML", acStructureAndData
I get a table in my database, not ncessarily called "MyFile". So without
building an array of tables then comparing afterwards, how do I find out
what table was created just then?

Any way there's a chance of linking to an XML file?

Hi
The name of the table is the root element in the XML file. Access
appends a number to the table, if a table with that name already
exists.
See
http://msdn.microsoft.com/library/de...dc_acxmlom.asp
David

Nov 13 '05 #2
PS perhaps I didn't read your q closely enough, did you mean how to
find out which number was just added? I'm sure you would have to keep
track of this yourself. David

Nov 13 '05 #3
David Schofield wrote:
PS perhaps I didn't read your q closely enough, did you mean how to
find out which number was just added? I'm sure you would have to keep
track of this yourself. David


It was the original name from dataroot but now you come to mention it,
any Tom, Dick or Harry could name that with the name of an existing
table so it could exist already.

Looks like I will have to loop all the tables and play "Spot the newbie" :-)
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Dave Rahardja | last post by:
OK, so I've gotten into a philosophical disagreement with my colleague at work. He is a proponent of the Template Method pattern, i.e.: class foo { public: void bar() { do_bar(); } protected:...
0
by: Patrick A | last post by:
All - 2 questions, the answer to either one having the possibility of making the other a moot point: 1. I have a DB with a form that serves as a GUI to let the user browse for an XML file and...
4
by: nepifanio | last post by:
Hi Guys, I'm trying to import data out of MySQL db to MS Access 2003 using ImportXML. I don't have any problems doing the import, except for one table with a "text" field defined. I'm getting...
1
by: Jim | last post by:
I run the following code Application.ImportXML _ DataSource:="C:\TEMP\Audit\BatchData\BatchHeader.xml", _ ImportOptions:=acAppendData And get the error 'Path not found:...
0
by: BenWeber | last post by:
I have XML formed as follows (this is just a part of the XML) - <players> - <player id="814090"> <name>Brian</name> <surname>Bradford</surname> <countryfrom id="4">USA</countryfrom>...
3
by: rdemyan via AccessMonster.com | last post by:
Will someone please verify for me that these three methods, TransferText, ExportXML and ImportXML, can only be run on the current database, i.e. I can't run these from the front end in order to...
0
by: bernard.thouin | last post by:
Hi I have an Access 2000 app where I will soon get an XML file as an input (of which I already have an early test file), instead of an Excel spreadsheet. So I set out to see how to import the...
2
by: akay | last post by:
So I'll start by saying I'm very new to programming VB Scripts... Anyways, I'm trying to program an API for my company. I start by creating an HTML pages which POSTs my login data to a webpags....
3
by: heinzW | last post by:
Hallo, ich schreibe ein VB-Programm, das eine MDB-Datei verwendet. Weiß jemand, ob für die beiden Funktionen ExportXML und ImportXML Access installiert sein muss, da dies bei unserem Kunden nicht...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.