V
visionstate
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.
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.