M
Martijn
I'm struggling with the import of xml files in access.
I receive the files in outlook and save them as client(1).xml, client(2).xml
etc in a local folder.
When I'm using the xml import function in code I only can import a file I
named in the code.
example:
Application.ImportXML DataSource:="D:\Clienten XML\client.xml",
ImportOptions:=acAppendData
(I can put in the same rule with client(2).xml etc, but there are a lot of
files this way).
This works fine but how can I tell the import engine that I want to import
all the *.xml files from "this location" etc.
I think I have to use a loop but I don't know how to define the code.
Can somebody help me?
Thanks
I receive the files in outlook and save them as client(1).xml, client(2).xml
etc in a local folder.
When I'm using the xml import function in code I only can import a file I
named in the code.
example:
Application.ImportXML DataSource:="D:\Clienten XML\client.xml",
ImportOptions:=acAppendData
(I can put in the same rule with client(2).xml etc, but there are a lot of
files this way).
This works fine but how can I tell the import engine that I want to import
all the *.xml files from "this location" etc.
I think I have to use a loop but I don't know how to define the code.
Can somebody help me?
Thanks