Skip to main content

Hello,

 

I have a list view with the possibility to multi select lines. Now I want to have a button that either processes the selected lines or if no line is selected process all lines...

Is it possible to query if any line is selected?

 

reagrds,
Johann

Hi 


 


I think you can enable 'Allow multiple row selection' options in the listview



Hi,

 

I think my initial post was misleading :-)

 

I know how to make the list "multi selectable" - I want something different:

I have a list that is "multi selectable" and I have a button with a rule that is called when the button is clicked.

In that rule I want to make somthing like this:

 

 

If "one or more items are selected" then

       for all selected items do somthing

if "no item is selected" then

       for all items do somthing

 

So I need to query if something was selected or not...

 

regards,

Johann


No Ideas?

 

I have thought about a "bad hack" like this:

 

For Each Selected
transfer 1 to a data label

If data label == 1 Then
==> For Each selected
Else
==> For Each Item

would take some time longer but the list will be max. 150 Items long...


Reply