hi Expart,
i want to know how to modify the content of a text file from Navision. let me explain bit more....suppose 1 text file is there in c drive in client system called "test.txt". In that text file only one name is there for example ' XYZ ABC'.
Now i want to change the name as 'XMZ ARC' from Navision into that file.
Now my question is how to do that?
Thanks In Advance
Regards,
Mrinmay
0
Comments
If you are on RTC, also remember that you have to search also for UPLOAD and DOWLOAD functions: you have to upload the file on service tier in order to be able to rename it, and then download it on the client.
EDIT: :-k i don't know if the file is renamed, or a new file with the new name is created...i've never done this... :-k
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
i have written code like below:
File1.TEXTMODE(TRUE);
File1.WRITEMODE(TRUE);
File1.OPEN('D:\Test.txt');
File1.SEEK(1);
File1.WRITE('P');
File1.CLOSE;
Note: Content of Test.txt is 'XYZ ABC' i want it 'XPY ABC'
But it is not working properly. After running the code in file it coming like
P
ABC
what to do so that after running it will give : XPY ABC
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.