Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
gkcchowdary
Creator
Creator

tell me below req?

hi

table store into qvd

after extract table into qv table path like below

example:c:/user/chaitanya.qvd

my req:i want load with out path name and qvd name.i want only table name how?

7 Replies
sunny_talwar

my req:i want load with out path name and qvd name.i want only table name how?

Not sure what you mean. Can you re-explain?

jonathandienst
Partner - Champion III
Partner - Champion III

You would have to loop over the files, and use the QvdTableName() function to find file(s) containing the table. Something like

     Set vTable = Table1;

     For Each vFile in FileList('<your qvd path>')

          If(QvdTableName(vFile) = vTable Then

               LOAD * From [$(vFile)] (qvd);

          End If

     Next

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
jonathandienst
Partner - Champion III
Partner - Champion III

Although as a better tip, why not name the qvd file with the name of the table?

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
gkcchowdary
Creator
Creator
Author

hi

just i want extract existing qvd table .

my requirement is only show the table name without pathname and qvd

On Tue, Aug 11, 2015 at 3:22 AM, jonathan dienst <qcwebmaster@qlikview.com>

Anonymous
Not applicable

hi,

assign path to variable and use variable name.

Jonathan example solves your issue

jagan
Luminary Alumni
Luminary Alumni

Hi,

Without filepath how it will load the QVD file?  You have to somehow give the file path directly or indirectly like any of the below options

LET vFilePath = 'C:\Qlikview\';

TableName:

LOAD

*

FROM $(vFilePath)QVDFileName.qvd (qvd);

OR relative path like below

TableName:

LOAD

*

FROM ..\..\..\QVDFileName.qvd (qvd);

Hope this helps you.

Regards,

Jagan.

qlikviewwizard
Master II
Master II

Hi nbkchaitanya

Just put all the files in same folder. Then no need to give any path name.