Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
IMPORTANT security patches for GeoAnalytics Server available to download: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewwizard
Master II
Master II

What is StoreAndDrop

Hi All,

I have the following script.

What does this mean?

EMP:

Load ENAME,

     EMPNO,

     SAL

SQL SELECT * FROM EMP;

Call StoreAndDrop('EMP');

Thanks in advance.

1 Solution

Accepted Solutions
Chanty4u
MVP
MVP

Hi

Actually we can use STORE  for creating Qvd's.and storing in perticular path dat path is knwn as qvd path.

after creating that automatically we use drop command to drop the table. i.e(.EMP).

Thank you

Suresh

View solution in original post

4 Replies
Chanty4u
MVP
MVP

Hi

Actually we can use STORE  for creating Qvd's.and storing in perticular path dat path is knwn as qvd path.

after creating that automatically we use drop command to drop the table. i.e(.EMP).

Thank you

Suresh

qlikviewwizard
Master II
Master II
Author

Hi sureshqv,

Thank you.

jagan
Partner
Partner

Hi,

  1. EMP: 
  2. Load ENAME, 
  3.      EMPNO, 
  4.      SAL 
  5.  
  6. SQL SELECT * FROM EMP; 
  7. Call StoreAndDrop('EMP'); 

StoreAndDrop() is a custom created macro function which performs the passed parameter table into a QVD and then it drops that table.


Instead of manually writing the STORE and DROP statements everywhere this macro is been used.


Regards,

jagan.

jagan
Partner
Partner

Hi,

You can check this link for sample macro and its usage in the script.

Calling VB function (macro) in Load script to find common string length in two strings

Hope it helps you.

Regards,

jagan.