By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,412 Members | 2,835 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,412 IT Pros & Developers. It's quick & easy.

Multiple combo boxes - got 2 out of 3 working...

P: n/a
Hi there,
I am working on a form that uses 3 text boxes and 3 combo boxes.
When any data is entered into any of these, I click a command button
and this requeries a sub query in the form and displays data dependent
on what has been typed in.
After having trouble with populating my second combo box (I eventually
populated it by putting the fields for both combo boxes in 1 separate
query) I am now having problems with the 3rd one and am literally
tearing my hair out!!
I have set it up exactly the same as the others. This is in the 'Row
Source' row:
SELECT DISTINCT [Dept Combo Query].Attending or Facilitating FROM [Dept
Combo Query];

I have a Query called 'Dept Combo Query' which contains 2 fields - one
for each of the other combo boxes - and then a 3rd field called
'Attending or Facilitating'.
The query has no criteria at all in it.
When I run my form and click the 3rd combo box I get a prompt coming up
asking for 'Parameter Value'. If I am correct, I believe this should
only be displayed if you have criteria in the query? If I click
'Cancel' then I can use the combo box as normal but there are no values
displayed.
I have tried moving the field to a query all by itself and it still
prompts for the Parameter Value.
Any ideas on how I can stop this popup and populate the combo box??
Any help is gratefully recieved!
R.

May 11 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi again,
After 4 hours of trying I've managed to solve this!
It didn't like the fact that the field was called 'Attending or
Facilitating'. I changed the field name in the table to 'Attending' and
it worked.
So simple yet so frustrating!!

R.

May 11 '06 #2

P: n/a
Day late and a dollar short, but in the future, if you have spaces in
your field/object names, then they will cause problems. You need to
enclose those in square brackets, like this:

Forms![The Name Of My Form]![My ControlName].some_property

May 11 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.