Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
sibin_jacob
Creator III
Creator 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
Gysbert_Wassenaar

See attached qvw.

Is this what you need?


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
Gysbert_Wassenaar

See attached qvw.

Is this what you need?


talk is cheap, supply exceeds demand
MayilVahanan

Hi

Check the attached flle

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
johnw
Champion III
Champion III

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
Creator III
Creator III
Author

It's working fine for me, thanks Gysbert Wassenaar

sibin_jacob
Creator III
Creator III
Author

Thanks John.. its helped me ...