This is my first time working with xml files,I am loading several xml files in my application, they are being concatenated but there is no key which links the different tables together.QV generates a %key but that is always a 0 for eachfile, how can i create/get a key to link the files?
The link works for me but I understand it doesn't work for you. Here's the content at that link:
"The problem is with the generated %Key... field, which is a generated counter starting with 0 that links the child xml node with the parent node. The xml load process resets this counter to zero at the beginning of each file so child elements from the second file are incorrectly linked to parents from a previous file. The solution is to introduce some uniqueness into the key so you get linkage only within an individual file. Modify your %Key... statements as follows:
FileBaseName() & %Key_devices_DAEC5B79D00913EA as Key //key created by wizard
That will create unique keys and your data should link up correctly
If that doesn't resolve your question, post some details of your specific problem here and I'll try to respond.