>I guess I will not be using XML for this process as the files can easly have thousands of records.Simon,
I don't have direct experience with this, but have you tried using VFP's XMLAdapter class to accomplish this task? Assuming you're able to load the XML into the class without any heartache, perhaps the cursor creation from the object's tables collection might perform better with a larger data set.
Again, I don't know that to be true but it's certainly another option to try.
Laterness,
Jon
Jon Rosenbaum
Devcon Drummer