Options

Could not find part of the path

JlTJlT Member Posts: 18
Hello!

I have written this code (in the OnAction trigger for a page action) to call a xml-port and import some data to a table. After selecting the file in the dialog box I get an error message saying "Could not find a part of the path 'C:\....". I have tried locating the file on the client computer and on the server but with no difference in result.


ImpFile.OPEN(FileMgt.OpenFileDialog('NAV File Browser','*.xml',''));
ImpFile.CREATEINSTREAM(Stream);
AvtImport.SETSOURCE(Stream);
AvtImport.IMPORT;
ImpFile.CLOSE;

Any suggestions in how to get it to work?

Answers

Sign In or Register to comment.