Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

creating qvd with a button

hi all,

can  i create a qvd directly exporting data from current selection box with the help of a button. can anyone help me with the steps please/.

thanks..

15 Replies
Not applicable
Author

Could you plz explain your requirement clearly?

You can create QVD by giving the STORE TableName into [your path\Name.qvd](qvd); command.

Or instead you can use Variable for your path.

Not applicable
Author

I think this thread is for you :http://community.qlik.com/thread/7715

Fabrice

Not applicable
Author

Hi Fabrice,

I added below script in the edit module with action run macro for the button:

sub StoreCH1TableToQVD

set obj = ActiveDocument.GetSheetObject("CH01")

obj.ExportEx "D:\bqv.qvd", 4

end sub

after i click the button created , i m redirected to edit module again

which step am i missing here?

:Aditi

Not applicable
Author

hi,

my question is whatever selections i have made in qvw file, that is shown in current selection window, this particular selection , i want to export as qvd with the help of a button. i know how to create a qvd with store command. but want to try with a button

Not applicable
Author

HI aditi, Please make sure that you gave correct chart object ID.

Not applicable
Author

mu current selection chart object ID is: CS01. even after trying with this in the code, edit module comes up.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Are you running your Script with "System Access" security?

Peter

Not applicable
Author

well yes, but other simlar actions are working properly.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Try writing to the document directory, e.g.

  :

  obj.ExportEx ".\bqv.qvd", 4

  :

Peter