Error while Importing Text File through Xmlport Cannot import the specified XML document because the file is empty..
How can i skip these error. or Skip the Empty File.
The only solution is in checking a file on emptyness before starting xmlport.
XmlPort does not support working with content of file on it's triggers if XML format is used.
Nav Upgrades and DEV outsourcing
Reports transformation to RDLC
List -1h , Complex List -3h, Document -4h (dev hours)
navisionupgrade.com
Answers
XmlPort does not support working with content of file on it's triggers if XML format is used.
Reports transformation to RDLC
List -1h , Complex List -3h, Document -4h (dev hours)
navisionupgrade.com
FileNameNew.OPEN(FromFolder);
FileNameNew.CREATEINSTREAM(INST);
IF XMLPORT.IMPORT(Table ID,INST) THEN
FileNameNew.CLOSE;