Dear Friends,
I am using following code to export data from IC locational details:
ICExport.Open CompDBLink
ICExport.SetView "IC0290", "", VIEW_SET, Null
ICExport.ExecuteExportScript "c:\a.xml", ReturnValue
My queries are:
1. How can I edit a.xml in case there is change in path of output file.
2. Is there any way to avoid using .xml file for doing export of all or partial data.
Kindly help with clue with coding.
Thanks in advance.
Muhaidib
**************** a.xml *******************************
<?xml version="1.0" encoding="utf-8" ?>
- <AccpacImpExp Action="3" ProgramName="IC1130" Type="EXPORT" Version="513">
- <VIEW ID="IC0290" Type="5" Action="0" AllFieldSelected="1">
<Criteria>( ITEMNO = "11100005" )</Criteria>
<TABLE>Location_Details</TABLE>
</VIEW>
<DBNAME>D:\IC2007\StdCst.xls</DBNAME>
<DBTYPE>Excel 2000</DBTYPE>
</AccpacImpExp>
I am using following code to export data from IC locational details:
ICExport.Open CompDBLink
ICExport.SetView "IC0290", "", VIEW_SET, Null
ICExport.ExecuteExportScript "c:\a.xml", ReturnValue
My queries are:
1. How can I edit a.xml in case there is change in path of output file.
2. Is there any way to avoid using .xml file for doing export of all or partial data.
Kindly help with clue with coding.
Thanks in advance.
Muhaidib
**************** a.xml *******************************
<?xml version="1.0" encoding="utf-8" ?>
- <AccpacImpExp Action="3" ProgramName="IC1130" Type="EXPORT" Version="513">
- <VIEW ID="IC0290" Type="5" Action="0" AllFieldSelected="1">
<Criteria>( ITEMNO = "11100005" )</Criteria>
<TABLE>Location_Details</TABLE>
</VIEW>
<DBNAME>D:\IC2007\StdCst.xls</DBNAME>
<DBTYPE>Excel 2000</DBTYPE>
</AccpacImpExp>