nope...now I have
Select * From [Query - Catalog Append Table] Where BasicCategory =
Forms![Query - Catalog Append Table]![ BasicCategory].column(1)
still get the same error on trying to save...i also tried putting brackets
around BasicCategory so it looked like this:
Select * From [Query - Catalog Append Table] Where [BasicCategory] =
Forms![Query - Catalog Append Table]![ BasicCategory].column(1)
but got error message tha way too
Ofer said:
If that the name of the table, you need to close it with [], when the name
split into few words, you need to close it with []
Select * From [Query - Catalog Append Table] Where BasicCategory =
Forms![Query - Catalog Append Table]![BasicCategory].column(1)
--
I hope that helped
Good luck
:
so now I have the following:
Select * From Query - Catalog Append Table Where BasicCategory =
Forms![Query - Catalog Append Table]![ BasicCategory].column(1)
it still won't even let me save...get the same error message
"the syntax of the subquery in this expression is incorrect" Check the
subquerys syntax and enclose the subquery with parentheses.
:
You need to change the name of the table and the fields to the one you have.
TableName = The name of your table
FieldName = the name of the field in the above table that you need to
filter on
--
I hope that helped
Good luck
:
I get an error message "the syntax of the subquery in this expression is
incorrect".
Perhaps I did not put in all the right firld names. I have the following:
Select * From TableName Where FieldName = Forms![ Query - Catalog Append
Table]![ BasicCategory].column(1)
:
Try this
Select * From TableName Where FieldName = Forms![FormName]![ComboName]
Now, if you try to filter on the second column in a combo, use this
Select * From TableName Where FieldName =
Forms![FormName]![ComboName].column(1)
The column number start from 0, the first column doesnt need to be specify
--
I hope that helped
Good luck
:
How do you have a query use one of the values in a drop down list? When I
select one of the values, it just returns everything...not just the value in
the Combo box.