Listbox Quandry

  • Thread starter Thread starter DS
  • Start date Start date
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
 
I found the problem. The listbox's on click action was attached to an
action. I simply removed that action and that solved the problem.
Thanks
DS
 
Back
Top