Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to create QVD's through variable ?
please call me or whats app on 91958181000
Vikram,
can you give more details on what you need?
Do you need to store a QVD with a specific name based on a varialbe?
If you need something like this, you can use $ (dollar) expansion, like below:
set vName = Test;
tmp:
Load
'A' as Test
Autogenerate(1);
store tmp into $(vName).qvd (qvd);
This will store a QVD named Test.qvd into the same folder where you save the QVW with the above code.
Most operations will use the $ expansion when you need to get values from a variable.
SET run_path = '..\qvd\';
after you load the data
STORE XYZ_TABLE into $(run_path)XYZ_TABLE.qvd (qvd);
.. can be tricky. single . means 1 folder up, .. would mean 2 folder up
and ..\qvd\ would be your store location in script