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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to see values stored in variable ?

Like in unix shell scripts or oracle we can see the value that was stored in a variable using echo $variable , dbms.output.putline() respectively...

Similarly , how can i see the value stored in a variable using my script ?? is there any command available ?? or i can see it only in the list box.??

16 Replies
tresesco
MVP
MVP

remove semicolon

Not applicable
Author

try, just give a =VData

Not applicable
Author

Thanks Kaushik and the rest.

I could see the value for the variable VData in the Variable overview.  I should not use =$(VData) instead if I  use =VData (without $) it displays the value in the text object .

Not applicable
Author

Hi ,

I was trying to see the value returned by the below QVD functions such as QvdNoOfRecords etc... But I could see the values stored in the variables ???? Please help

Let qvdcrtime=QvdCreateTime($(SD)dept11.qvd);

Let qvdNoOfRec=QvdNoOfRecords($(SD)dept11.qvd);

Let qvdTabName=QvdTableName($(SD)dept11.qvd);

Trace $qvdcrtime;

Trace $qvdNoOfRec;

Trace $qvdTabName;

Regards

Sathya

Not applicable
Author

For your quick review , the syntax copied it here..

QvdCreateTime( filename ) - Returns the XML-header time stamp from a QVD file if any (otherwise NULL).

QvdNoOfRecords( filename ) - Returns the number of records currently in a QVD file.

QvdNoOfFields( filename ) - Returns the number of fields in a QVD file.

QvdFieldName( filename ) - Returns the name of field number field_no, if it exists in a QVD file (otherwise NULL).

QvdTableName( filename ) - Returns the name of the table contained in a QVD file.

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi

     Try this way.

     QvdCreateTime('FileName');

     File name should be in quote.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Its working, you're awesome //

Thanks Kaushik