Hi John.
My table name is P30_LRun100103110041
The row source for the combo box on the form is SELECT
[P30_LRun100103110041].[ID], [P30_LRun100103110041].
[Policy #] FROM P30_LRun100103110041;
The Bound column setting = 1
and the SQL of the query is . . . FROM P30_LRun100103110041
WHERE (((P30_LRun100103110041.[Policy #])=[forms]!
[frmPolicy]![cboPolicy]));
I have confirmed the form is still open when I run the
query. I appreciate any help. Thanks
-----Original Message-----
Erica-
What's the Row Source of the combo box? What is the
setting in the combo
box for Bound Column? And finally, what is the SQL of
the query that
references this combo box as a filter? It's a common
error to pick the
wrong column to filter, especially when the row source of
the combo has
multiple columns.
--
John Viescas, author
"Microsoft Office Access 2003 Inside Out"
"Running Microsoft Access 2000"
"SQL Queries for Mere Mortals"
http://www.viescas.com/
(Microsoft Access MVP since 1993)
Hello! I have form with combo box and want to run query
based on text in combo box. At the suggestion of a
person
in newsgroup I put in =Forms!NameofForm!NameofBox as
criteria in query and run query via a macro button on
form; however, I get no records in my query.
Anyone had this problem? Any ideas? I appreciate any
help! Thanks
.