Combo Box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have two different forms in my database that have a combo box used to
select report criteria. I don't know what I am doing wrong, but every once in
a while, the combo box stops working properly, when I click on the drop down
arrow, none of the records are listed and a dialog box pops up asking for the
value to be entered manually. What am I doing wrong?
 
Jennie,

It sounds like the combo's query can't find a field or criterion. If it's
using a form field in the criteria, wrap the criterion in the Nz() function,
so a value will always be supplied. For example:
SELECT Nz([FieldA], 0) FROM Table1

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 

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

Similar Threads

combo box locked 4
Combo box in multiple tables within a database 4
Combo Box Help 7
Combo Box Question 4
combo box 1
Change displayed combo box value using VBA 4
Blank combo or list box 1
combo box filter 1

Back
Top