B
Bill
First of all I have searched and found out how to do this. At least in
theory I found out. I want to search a table and have the query find all the
records with a certain chemical name.
As these names can be long and complicated I want to use a Combo Box so that
the user can SELECT a chemical name to search. I created a FORM with a Combo
Box that will display the chemical names that are used in the table. That
form works. If I run it I get a Combo Box which displays the Chemical Names.
That FORM is called "frmChemicalNameList" The Combo Box on the FORM is
"cboChemName".
I created a QUERY to display all the records for the Chemical based on the
Combo Box selection. In the CRITERIA area, under the FIELD for ChemicalName,
I typed -
=[Forms]![frmChemicalNameList]![cboChemName]
When I RUN the QUERY I get a box that says Enter Parameter Value and
Forms!frmChemicalNameList!cboChemName not the Combo Box.
Any ideas?
Thanks,
Bill
theory I found out. I want to search a table and have the query find all the
records with a certain chemical name.
As these names can be long and complicated I want to use a Combo Box so that
the user can SELECT a chemical name to search. I created a FORM with a Combo
Box that will display the chemical names that are used in the table. That
form works. If I run it I get a Combo Box which displays the Chemical Names.
That FORM is called "frmChemicalNameList" The Combo Box on the FORM is
"cboChemName".
I created a QUERY to display all the records for the Chemical based on the
Combo Box selection. In the CRITERIA area, under the FIELD for ChemicalName,
I typed -
=[Forms]![frmChemicalNameList]![cboChemName]
When I RUN the QUERY I get a box that says Enter Parameter Value and
Forms!frmChemicalNameList!cboChemName not the Combo Box.
Any ideas?
Thanks,
Bill