Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
sibin_jacob
Contributor III

listbox Selection

HI,

I have a product list box. Product names are product1,product2,product100,product101,product102,productabc,productcde.

I have two buttons named as Next and Previous.

From that product list box, I selected Product1,product2,product100,product101,productcde.

I have a text object , In that text object I need to show selected product names one by one based on Next button click.

If  click on previous button  I need to show Previous one.

Thanks & Regards,

Sibin Jacob

1 Solution

Accepted Solutions

Re: listbox Selection

See attached qvw.

Is this what you need?


talk is cheap, supply exceeds demand
5 Replies

Re: listbox Selection

See attached qvw.

Is this what you need?


talk is cheap, supply exceeds demand

Re: listbox Selection

Hi

Check the attached flle

MVP
MVP

Re: listbox Selection

If I understood what you want, then the I believe the attached works.  It's similar to what gwassenaar did, but with a list box and sensitive to the selections.

Next: set vProd to =if(vProd=getselectedcount(Product),1,vProd+1)
Prev: set vProd to =if(vProd=1,getselectedcount(Product),vProd-1)
Text: =subfield(getfieldselections(Product),', ',vProd)

sibin_jacob
Contributor III

Re: listbox Selection

It's working fine for me, thanks Gysbert Wassenaar

sibin_jacob
Contributor III

Re: listbox Selection

Thanks John.. its helped me ...

Community Browser