We are working on a project that is taking data out of Navision and dumping it into a xml format. The issue that we have is that we have an "Autmation variable has not been instantiated" and no matter what I change in the CAL Locals to point it to the MSXML it will not get past.
Any suggestions?
0
Comments
Declare XMLDOMDocument as 'Microsoft XML, v3.0'.DOMDocument
Declare CurrNode as 'Microsoft XML, v3.0'.IXMLDOMElement
Declare NewChild as 'Microsoft XML, v3.0'.IXMLDOMElement The xml file looks something like this:
CLEAR("Automation VAR Name");
CREATE("Automation VAR Name");
Is this at runtime or at compile-time? The reason I ask this is that if it is at runtime it may be something as simple as you referring to a node that doesn't exist in the xml-document. It will in my experience give that rather misleading error message.
Tommy
I try to save whole tables in the same way as you done above..
and for a similar one it works - but when I start to safe all tables I got a memoryproblem.
I create an XML object, adds all content of a table in it and safe it and if it's an big tabe i splitt it to several files. Everthing works fine but as longer as the codeunit runs as bigger is the RAM that's neede even a table was saved and the object cleard. Looks like navision doesn't gives requested memory not complettle back..
Any Ideas?? Suggestions??
Thanks
Christoph