Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

store input field

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

6 Replies
mongolu
Creator
Creator

i've tried that and it works.

maybe would help if you attach an example qvw.

Not applicable
Author

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

Not applicable
Author

QVD doesn't get along with inputfield. Try saving and reloading from CSV.

Not applicable
Author

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

mongolu
Creator
Creator

How can i attach a qvw file?

mongolu
Creator
Creator

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).