Good morning,
I am having a problem when picking up the path of a file in RTC, for example C: \ test \ example.xlsx in RTC takes the value:
C:
test
example.xlsx
In short, with value "\" is inserting a new line… very strange!!
I have always put the following code in OnAssistEdit:
"File name": = CommonDialogMgt.OpenFile ('','', 2,'', 0);
"File name" is a text of 250, and use the Common Dialog codeunit Management.
What is wrong? How can a I import the file?
Thanks for advance
0
Comments
How do you know that it is taking as new line?
did you get any error?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
The error I get is that there is no file with the path:
C:
example
xxx.xlsx
I know that if you use the value "\" in a function message (), interprets it as a new line, but I do not know why RTC is not working well, I used the function openfile many times without any problems.
RTC search for the above path in Service Tier system where your NAV service is installed..
Are you using single machine or client-server environment?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Do you want an image of the error? Perhaps you can understand me better... what an extrange error!!!!! ](*,)
Check Base reports 9171 and 9172 how they have developed..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Ok... thanks mohana_cse06... i´ll try it!!