List Box Query

N

Neil Cash

I've created a "search engine" to precede my database using a list box
looking up a query. Everything works exactly how I want it to, except when
it starts up. When you open the search engine, the list box displays all
records in the table. I would like it to appear blank, and only display
records when the user hits a command button. Looking forward to a simple
solution, thanks in advance.
 
M

MacDermott

If you set the listbox's RowSource property to "", it should appear blank.
You'll then need to put code behind the command button to reset that
property.
 
Top