Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi at All,
in this case:
tab:
inputfield a, b ;
load c as q,
d as b
from ....
I create a pivottable to show data.
In Api i put this code
sub sav
set v = activeDocument.GetSheetObject("CH0")
v.exportex "ql.qvd", 4
end sub
this code is linked to a event button
The problem is QV crash the application. It seams is not
possible to store data with a inputfield statement.
I need to store the "a" and "b" field in qvd.
thanks . best regards.
Sl
i've tried that and it works.
maybe would help if you attach an example qvw.
The file attached contains a mini--application. The target is to store and load a data. In this way I can create a database from the scratch.
Thanks
Regards,[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/4214.8-_2D00_-replace.zip:550:0]
Slash
QVD doesn't get along with inputfield. Try saving and reloading from CSV.
No doesnt't work. I replace the AA.qvd with AA.csv but do not work. If you are sure thath solution works please could correct What I posted in zip file?
Many thanks.
Best regards
Sl
How can i attach a qvw file?
Sorry. I've searched a little and i've found how to do it.
So.
In the example qvw, i store the table (which contains inputfields). By Macro and by STORE command.
For Macro store, it doesn't crashes.
For STORE command, it only crash when STORE is executed in the Partial Reload action. It doesn't have anything to do with storing inputfields.
If you comment the line (first line) that defines the inputfields and do a Partial Reload with STORE, it crashes anyway.
There is another approach, too.
You could use document variables with InputBoxes and Partial Reload (that's for not using inputfields if they aren't necessary).