D
DS
I have a Listbox. I'm using an SQL statement to fill the rowsource. Here
is the problem. If there are no records in the rowsource from the SQL
statement I can click on the list box and nothing will happen. This is
good. However; if I set the listbox's rowsource as such Me.Listbox = "" and
I click on the listbox I get an error. This is bad. Is there a way to set
the the listboxs rowsource to nothing and still be able to click on it and
not receive an error?
Thanks
DS
is the problem. If there are no records in the rowsource from the SQL
statement I can click on the list box and nothing will happen. This is
good. However; if I set the listbox's rowsource as such Me.Listbox = "" and
I click on the listbox I get an error. This is bad. Is there a way to set
the the listboxs rowsource to nothing and still be able to click on it and
not receive an error?
Thanks
DS