>YourDataAdapter.MissingSchemaAction = MissingSchemaAction.AddWithKey >I tried several routes during the day. One of them was to GetXMLSchema() before GetXML(), put them all together in lcXML and return that. But, again, this is the .NET way so VFP was not able to get all of that. I ended up only returning GetXML() and have VFP to be smart enough to build its own schema, by reading the master files, add that on top of the XML, do a few manipulations and then XMLToCursor().