Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

johnsmithqv
New Contributor III

Save QVD with relative path

Hi,

Could you please help me in saving the QVD with the relative path.

My path to store the QVD is: \\wwhsbin\QlikView_Data\SalesQVDFiles

with in this in need to store SalesQVD


i am trying like ..\..\QlikViewDataFiles\QVDFiles\SalesQVD.qvd(qvd); 

but it is throwing error.


Dashboard file is: \\wwhsbin\QlikView_WorkBooks\Sales\Salesworkbook.qvw


Note: i dont need any variable to hold the path i just need the relatvie path to create QVD.


Please help me

18 Replies

Re: Save QVD with relative path

Try this,

STORE TableName Into ..\..\QlikView_Data\SalesQVDFiles\SalesQVD.qvd(qvd);

johnsmithqv
New Contributor III

Re: Save QVD with relative path

thnaks for the reply

the reloading is getting falied

Re: Save QVD with relative path

John,

Make sure the relative path option box is enabled in edit script window.

johnsmithqv
New Contributor III

Re: Save QVD with relative path

Yes, but still the same error, dashboard failed to relaod

Re: Save QVD with relative path

You can check the log file to find where it goes wrong. The above syntax goes two folders back and store the table inn the folders path QlikView_Data\SalesQvdFiles.. If you still get the error, try this,

Store TableName into Test.qvd (qvd);

This will store the qvd where the dashboard is placed.

ajsjoshua
Contributor III

Re: Save QVD with relative path

Hi,

Try like this

SET vPath = D:\Qlikview_project\Live Project\Qlikview Report\2.QVD\;

and load the tables using

From

[$(vPath)Product.qvd]

johnsmithqv
New Contributor III

Re: Save QVD with relative path

Hi , thanks for the reply but i dont want these path to be set using variable

Re: Save QVD with relative path

try this

\\..\QlikView_Data\SalesQVDFiles


or


\\..\..\QlikView_Data\SalesQVDFiles


johnsmithqv
New Contributor III

Re: Save QVD with relative path

thanks for the reply

but the same issue dashboard failing to reload

Community Browser