Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
vidhya91gct
Partner - Contributor
Partner - Contributor

How can i get the field value from variable in script

Hi All,

How can i get the field value from variable in script.

for example:

In excel , i am loading the below format in the column

column name : QVDField

$(vdatapath)abc.qvd

$(vdatapath1)def.qvd

$(vdatapath)xyz.qvd

Let vdatapath=\\1\storedata\;

Let vdatapath=\\2\storedata1;

i would like to expect value format is \\1\storedata\abc.qvd (that mean $(vdatapath)abc.qvd - field value and qvd filename) in script.

Any idea or suggestion ?

1 Solution

Accepted Solutions
tschullo
Creator III
Creator III

Are you doing the "Let" before you reference the variable?

View solution in original post

3 Replies
tschullo
Creator III
Creator III

Are you doing the "Let" before you reference the variable?

swuehl
MVP
MVP

If you are using LET, you need to quote the path:

Let vdatapath= '\\1\storedata\';


or


Let vdatapath= '\\2\storedata1';


Then

LOAD ...

FROM $(vdatapath)abc.qvd (qvd);

vidhya91gct
Partner - Contributor
Partner - Contributor
Author

yes.... before I assigned the LET Vsriable.