C
C M Shaw
I am attempting to import a table into Access from an XML file. I am
working programmatically from VB.NET (calling objAccess.ImportXML),
but I see the same problem when I open Access and manually import the
XML file. The schema and data are importing correctly either way.
The problem is this: the rows in the imported table are not in the
same order as they were in the XML file. Blocks of rows seem to be
randomly shifted earlier or later in the row sequence -- the shifting
is not the same between two manual instances of importing the XML
file, although I see the same reordering each time I import
programmatically. It doesn't look like the rows have been resorted on
a different column; it's definitely blocks of rows shifted.
It's very important that these rows remain in order, and I would
prefer not to have to programmatically resort the table after
importing the data. Can anyone tell me what's going on?
Thank you,
Caitlin Shaw
(e-mail address removed)
working programmatically from VB.NET (calling objAccess.ImportXML),
but I see the same problem when I open Access and manually import the
XML file. The schema and data are importing correctly either way.
The problem is this: the rows in the imported table are not in the
same order as they were in the XML file. Blocks of rows seem to be
randomly shifted earlier or later in the row sequence -- the shifting
is not the same between two manual instances of importing the XML
file, although I see the same reordering each time I import
programmatically. It doesn't look like the rows have been resorted on
a different column; it's definitely blocks of rows shifted.
It's very important that these rows remain in order, and I would
prefer not to have to programmatically resort the table after
importing the data. Can anyone tell me what's going on?
Thank you,
Caitlin Shaw
(e-mail address removed)