Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

System Functions - document path

Hi,

I need to know how to get the Documentpath without the Documentname

For example if i use the function Documentpath() it brings me "C:/.../.../xxx.qvw"

but

i need the path "C:/..../..../"

How i can do this??

Tnks!

Tags (1)
1 Solution

Accepted Solutions
Not applicable

Re: System Functions - document path

Hi Carlos

Try this

Mid(DocumentPath(), 1, Index(DocumentPath(), '\', -1) )

Lukasz

2 Replies
Not applicable

Re: System Functions - document path

Hi Carlos

Try this

Mid(DocumentPath(), 1, Index(DocumentPath(), '\', -1) )

Lukasz

Not applicable

Re: System Functions - document path

Thanks Lukasz!!

Community Browser