Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

albi_prakash
Contributor II

Relative path issue

Hi All,

I am having a folder called 1_Applications which contains the my final qvw.And 3_Resources which contains all my data sources.

How can I use a relative paths for all the tables?

3 Replies
MVP & Luminary
MVP & Luminary

Re: Relative path issue

From the help file:

Directory

The Load statement can be preceded by a directory statement, defining what directory to look for the files in.

directory path

where:

path is a text that can be interpreted as the path to the file, either absolute, or relative to the .qvw file.

Example:

     Directory c:\userfiles\data;

The directory defined through this statement is used by subsequent Load statements, until a new directory statement is made.

A directory statement is generated automatically if Relative Paths is enabled in the Edit Script dialog.


talk is cheap, supply exceeds demand
albi_prakash
Contributor II

Re: Relative path issue

Hi,

Can you provide with an example?

MVP & Luminary
MVP & Luminary

Re: Relative path issue

Directory c:\userfiles\data;


talk is cheap, supply exceeds demand