Dear All,
I have created an XMLPORT which is used to IMPORT the records in Production BOM Line Table.
Having some issues/doubts for the same.
1) After importing data successfully, and running the same XMLPORT again then system is showing me an error "An I/O exception occurred during the operation.. I found that EXCEL.EXE process of OS remains in running status. What can be the solution?
2) I want to read the data by skipping some columns from CSV file. How can it be done?
3) I want to skip the first row from reading the data, since it's a title of all columns. How can it be done?
Please, suggest.
Ravi_Thakkar
Ahmedabad, Gujarat, India
E Mail :
ravi.thakkar@hotmail.com 0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
Remove all automation variables for Excel if you didn't start the xmlport from scratch.
Close excel before importing?
Don't open your CSV in excel?
2) I want to read the data by skipping some columns from CSV file. How can it be done?
Evaluate the columns you want to skip in a variable that will be never used afterwards
3) I want to skip the first row from reading the data, since it's a title of all columns. How can it be done?
create a boolean firsttime, oninit = true, when you start importing and begin at the first line, check firsttime, set firsttime on false and skip the record,
|To-Increase|