Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Partial Reload for only one table in scirpt

Hi ,

In Edit Script having two tables ie;

Table1:

Replace Load * Inline

[Test1

1

2

3];

Table2:

Replace Load * Inline

[Test2

11

22

33];

And i written a macro for Partial Reload in Button Action.

Now what i am trying to do is when i click the Button ONLY TABLE1 should be partial reload, it should not be Partial Reload for TABLE2.

Sub PartialReload

ActiveDocument.PartialReload

End Sub

How it can be done ?

Thanks in advance.

3 Replies
Not applicable
Author

Hi,

You can do this with a subroutine in the script:

sub table 1

Load statement

end sub

.....

sub table 2

Load statement

end sub

Then you use a variable to switch:

Call vTableYouWantToRefresh;

This variable is the one you can change with the button in de frontend.

So make a button that change the variable and then reload the script.

With this methode you can make more possibilities (eg reload both tables).

Succes!

Not applicable
Author

Hi Halmar,

I didn't get full what you said,

Can please explain clearly or can you provide a sample application file.

Thanks in advance

Not applicable
Author

Succes!