XML as Data Source...

WellsCarrie

Well-known member
Joined
Jul 12, 2005
Messages
95
Location
Arkansas
Programming Experience
5-10
answered! - (stubpid coding mistake) XML as Data Source...

Does anybody know a good place to get informaiton on trouble shooting ADO with XML issues?

I have several applications that will be using XML files as thier data sources. I can read the files into ADO datasets just fine but when I try to save the changes back to the XML files (with ds.writeXML) It just deletes the file contents without putting anything back.

Any help would be apreciated.
Thanks!
 
Last edited:
Stupidity runs wild...

I am so stupid sometimes, I really wonder how I get anyting accomplished.
Your request for Code found my problem.
I had inadvertantly "DIM"ed a new dataset inside my UpdateXML function. So of course it used that empty ds to write to the XML file instead of the global ds I wanted it to use.

DUHO!

So sorry for bothering the forums.
Carrie
 
Never a bother to help a fellow coder. Sometimes it is the simple request or suggestion like that where you find the bug that has had you going around in circles for hours.

Post anytime.
 
Back
Top