Discussion Board for collaboration on QlikView Scripting.
i need to get the path of QVW file in my module.
in script, i can call DocumentPath to retrive the path, but in VBScript this will not work.
There is a object.Path in VBScript syntax but i need to initialize the object first.
Anyone has an idea how can i get the path?
Go to Solution.
Here is the snippet for Active QVW Path and File Name in VBS, got it from API Guide:
to retrive only path :
tmpPath = ActiveDocument.GetPathName
lastBackSlash = InStrRev( tmpPath , "\" )
path = Left( tmpPath , (lastBackSlash - 1) )