Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to use Dynamic update action in QV 11

Hi,

Can any one tell me how to use the Dynamic update action in QV 11 .. Do We need to write macro to use this?

1 Solution

Accepted Solutions
Not applicable
Author

53 Replies
Not applicable
Author

Hello,

Yes, you need to write a macro. Look example in QlikView API guide - ActiveDocument.DynamicUpdateCommand.

Not applicable
Author

I think you don't need to write macro anymore. Just create/add an action "Dynamic Update" and fill statement with something like this

UPDATE TestTable SET TestField = 'Test' WHERE TestField='abc';
UPDATE TestTable SET Discount = 123 WHERE TestField='Test';
UPDATE TestTable SET Discount = 123 WHERE UpdateTag=1;

Not applicable
Author

Hi Dix

thanks

Not applicable
Author

Hi   Dix,

I am trying to figure out the following scenario in the context of Dynamic Update

Can it is possible,if i update the database then the changes should be reflected in my qlikview file.

The important point to consider is how qlikview associate the updated rocords with qvw with out reload

Please reply me back as u get it

I

Not applicable
Author

Hi ghori.irf,

as far as I figured it out by now, dynamic update changes only the values in memory. As long as your application stays in memory, you should be fine. But you have to make sure, that your data is saved once in a while.

Currently I'm working on using an export action for that. The next reload has to check, if there are any previously exported files (xml, csv,...). You can try to combine this with an EDX-triggered reload.

Regards

Matthias

mdmukramali
Specialist III
Specialist III

Dear,

Matthias Dix.

I am too looking for the above same senario as ghori..

so please let me know step wise procedure to adop Dynamic Update ,If possible with an example.

I will be thankful from botom of my heart.

Thanks,
Mukram.

Not applicable
Author

Check my example

mdmukramali
Specialist III
Specialist III

Dear,

Matthias DIx.

I am glad to have this stuff ,I refer this and get back to you if i come up with some doubt .

             

And I am thankful for your Hospitality .

Thanks,

Mukram,

Not applicable
Author

Hi Dix,

I try to implement dynamic update without macro,but its not working.

Please refer the attached file and help me out.