Listbox Quandry

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
 
D

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top