I finally figured out how to append to my XML file using the XML DOM Reference.
We use an application that reads an XML file and uploads the data into Sage Line 50.
We are planning to carry out a series of order processing using Access, to stop a lot of the errors and solve some of the speed issues that we encounter when users are using Sage 50.
My problem is that the xml file would need to be loaded by each user onto memory so that they can append to it.
I can see already a series of problems there:
-Would they lock each other out when trying to load the document?
-Would they overwrite the data when both users are appending to the file?
-How long will the file take to load and find the nodes if many orders are saved within the file?
Any ideas?
To avoid loading times of the reading of the tree nodes I thought of writting to a log text file and then append the data from the log file into the main xml document.
Which leaves me with two worries, of the users writting to the log files at the same time, and how could I automate from Access to read each log file at a certain period of time and append it to the xml file?
We use an application that reads an XML file and uploads the data into Sage Line 50.
We are planning to carry out a series of order processing using Access, to stop a lot of the errors and solve some of the speed issues that we encounter when users are using Sage 50.
My problem is that the xml file would need to be loaded by each user onto memory so that they can append to it.
I can see already a series of problems there:
-Would they lock each other out when trying to load the document?
-Would they overwrite the data when both users are appending to the file?
-How long will the file take to load and find the nodes if many orders are saved within the file?
Any ideas?
To avoid loading times of the reading of the tree nodes I thought of writting to a log text file and then append the data from the log file into the main xml document.
Which leaves me with two worries, of the users writting to the log files at the same time, and how could I automate from Access to read each log file at a certain period of time and append it to the xml file?