Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
raj_4582
Contributor
Contributor

DocumentPath() giving wrong result...coverting \n to new line

Hi All,

I am getting wrong result with =DocumentPath() in qlikview......actually my path string has \n "\\<servername\path....>" so for \n it is converting to new line...Please let me know if you have any workaround?

Thanks in advance.

3 Replies
vvvvvvizard
Partner - Specialist
Partner - Specialist

Text(DocumentPath())

vvvvvvizard
Partner - Specialist
Partner - Specialist

Or Keepchar(DocumentPath(),'/n')

Anil_Babu_Samineni

How about this?

Replace(DocumentPath(), '\n', Chr(10))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful