Hi All,
I have created a database that works great for Microsoft Access 2007. When I package it as a Runtime application I am running into problems. Most of my problems were solved by finding the missing references, but now my program shuts down due to a runtime error:
Execution of this application has stopped due to a run-time error.
The application can't continue and will be shut down.
This error appears when I try to export a XML file:
Application.ExportXML _
ObjectType:=acExportTable, _
DataSource:="Parts", _
DataTarget:="\\fs\shared\Utilities\Barcode\Parts.xml"
I get the same error when i try to import a XML file:
stDocName = "Delete Parts Table"
DoCmd.OpenQuery stDocName, acNormal, acEdit
'import parts table
Application.ImportXML "\\fs\shared\Utilities\Barcode\Parts.XML", acStructureAndData
Is it possible to import and export with runtime? And if so am I missing a reference or something?
Thanks in advance
-Bill
I have created a database that works great for Microsoft Access 2007. When I package it as a Runtime application I am running into problems. Most of my problems were solved by finding the missing references, but now my program shuts down due to a runtime error:
Execution of this application has stopped due to a run-time error.
The application can't continue and will be shut down.
This error appears when I try to export a XML file:
Application.ExportXML _
ObjectType:=acExportTable, _
DataSource:="Parts", _
DataTarget:="\\fs\shared\Utilities\Barcode\Parts.xml"
I get the same error when i try to import a XML file:
stDocName = "Delete Parts Table"
DoCmd.OpenQuery stDocName, acNormal, acEdit
'import parts table
Application.ImportXML "\\fs\shared\Utilities\Barcode\Parts.XML", acStructureAndData
Is it possible to import and export with runtime? And if so am I missing a reference or something?
Thanks in advance
-Bill