Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

select more than one value within macro

Hi all

how can I set more than value with the select method ?

i.e.

the fields statoOrdine have the following value 0,1,2,3

and i want that cliking on a button that calla a macro the values 0 and 3 are selected.

this macro works well but select only the 0 value,

sub OrderSet1
activedocument.fields("statoOrdine").select("1")
end sub

how can I select two or more value ?

Thank you

1 Solution

Accepted Solutions
Not applicable
Author

Hello!

See '.ToggleSelect' which will add to values already selected.

Regards,

Gordon

View solution in original post

2 Replies
Not applicable
Author

Hello!

See '.ToggleSelect' which will add to values already selected.

Regards,

Gordon

Anonymous
Not applicable
Author

Thank you Gordon,

I was confused thinking that "toggle" will revert the selection.

Regards

Luca