D david.paton Registered User. Local time Today, 15:01 Joined Jun 26, 2013 Messages 338 Apr 27, 2017 #1 I have a form that applies a query to data using a list box. How would I add a button that applies a different query to the list box when it is clicked?
I have a form that applies a query to data using a list box. How would I add a button that applies a different query to the list box when it is clicked?
S sneuberg AWF VIP Local time Today, 15:01 Joined Oct 17, 2014 Messages 3,506 Apr 27, 2017 #2 You could create two listboxes and use the button to toggle which one is visible.
A almahmood Registered User. Local time Tomorrow, 03:31 Joined Mar 28, 2017 Messages 47 May 5, 2017 #3 Hi, Write this code to the button click event: ListBox.RowSource="YourQuery"