Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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..
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.
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
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
HI aditi, Please make sure that you gave correct chart object ID.
mu current selection chart object ID is: CS01. even after trying with this in the code, edit module comes up.
Are you running your Script with "System Access" security?
Peter
well yes, but other simlar actions are working properly.
Try writing to the document directory, e.g.
:
obj.ExportEx ".\bqv.qvd", 4
:
Peter