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

Using a search box to display a list box

Hi All,

I have a list box containing Unique ID Numbers & relevant details; and a search box.

Does anyone know how to only display the list box only when a correct transaction number is enterred into the seach box?

Any help and suggestions much appreciated!

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

You can use the Show-> Conditional Property available on Layout tab under properties page.

Thanks & Best Regards,

Kuldeep Tak

View solution in original post

7 Replies
Not applicable
Author

Hi,

You can use the Show-> Conditional Property available on Layout tab under properties page.

Thanks & Best Regards,

Kuldeep Tak

Not applicable
Author

Ho do you define what is a correct transaction number? How do you know it's correct?

Not applicable
Author

Actually, if you're using V9 why don't you use a Global Search box, this will only show options that are real and might mean you don't need your list box at all.

Not applicable
Author

I have transaction numbers listed as:

1555668

1665588

1557566

etc..

So if for example I enterred 1557566 into the search box the details for that number would appear. However, when I have selected no number I do not want to be able to see anything at all (at the moment every transaction would be displayed).

Thanks

Not applicable
Author

Sorry I meant the data is displayed in a Straight Table not List Box.

Not applicable
Author

On the conditional show option in your straight table, you could use the expression:

GetSelectedCount(TransactionNumber) = 1


This would mean the straight table is only shown when one transaction number has been selected.

Not applicable
Author

Thanks both.