Importing txt-file via dataports

Hi there I have got a the strange problem when importing data from a txt-file on C.D. into an navsision table via a dataport. “Operating system caannot acces file D:…” “Check type and attributes of the file” What helps is copying the txt-file from the C.D. to the P.C., and turn off the read-only flag in the properties of the txt-file??? Someone has the same problem?

What version of Navison are you using?

We are still working with navision financials 2.01B

Hi! Maybe it helps if you set this file-property manually: CurrFile.WRITEMODE(FALSE);Haven’t tried … Regards, Jörg

I just tried your suggestion Jörg, I wrote this file property on the oninitDatport trigger and I tried it on the OnPredatareport-trigger. Result is the same[V] but it was a nice suggestion. Thanks

Just tried to do exactly the same in my development data-base attain 3.60 and IT WORKS. (same data, same datport, same operation) Bug in navision 2.01?

I asked the question regarding the version primarily due an error that was in the old version that sometimes didn’t allow you to access some drives. It was in regards to importing object files, but it sounds like the problem was more generic.