Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Everyone ,
I have 3 list boxes in one tab and a button which takes you to another tab. I have to make button work only after making selection from atleast one list box or else it should show me a popup.
Is there a way to solve this .
The button should function only after making atleast one selection.
You can use an enable condition in the general tab of the button properties.
The condition could look like:
=GetSelectedCount(Field1) + GetSelectedCount(Field2) + GetSelectedCount(Field3)
Please check attached.
You can use an enable condition in the general tab of the button properties.
The condition could look like:
=GetSelectedCount(Field1) + GetSelectedCount(Field2) + GetSelectedCount(Field3)
Please check attached.
Thanks Swuehl . That worked
You could also check with this
Hi Celambarsan,
Your pop up is good .But how can i make pop up appear if 2 selections are not made. We should make atleast one selection from each list boxes as there are 3 list boxes .
pop up should appear only if they don't select from 2 list boxes minimum
Thanks,
Hi
You can try like this also
=Count(GetCurrentSelections()) in Variable
You can use this condition to enforce selection in all three list boxes:
GetSelectedCount(Dim1) * GetSelectedCount(Dim2) * GetSelectedCount(Dim3)
Then use the condition to trigger your button activation / popup.
Hi swuehl ,
Can you check celambersan attached.qvw in the previous reply and help me how can i change it because i am using this currently
Yes,
but it's plain forward, as I described above.
Its the same way as you described above. But here the condition is either 2 or 3 list box.How can i change it .The selection can me made either in 2 or the third but not in both .