D
de Vroede
Hi,
I'm trying to build a query which combines multiple fields and searches
for this field in another field. When I build it using a query design
it works, but I want to use it for a RecordCount and making it into a
SQL statement doesn't seem to work. This is what I got:
"SELECT Tbl_HWcollection.Omschrijving FROM Tbl_HWcollection WHERE
(([Tbl_HWcollection]![Omschrijving] =
[Forms]![Frm_HWDescription]![Combo6].[Value] & " " &
[Forms]![Frm_HWDescription]![Combo8].[Value] & " " &
[Forms]![Frm_HWDescription]![Combo10].[Value] & " " &
[Forms]![Frm_HWDescription]![Combo16].[Value] & " " &
[Forms]![Frm_HWDescription]![Combo14].[Value]))"
When I run it I get an error message stating "Expected: end of
Statement"
regards,
Jeroen
I'm trying to build a query which combines multiple fields and searches
for this field in another field. When I build it using a query design
it works, but I want to use it for a RecordCount and making it into a
SQL statement doesn't seem to work. This is what I got:
"SELECT Tbl_HWcollection.Omschrijving FROM Tbl_HWcollection WHERE
(([Tbl_HWcollection]![Omschrijving] =
[Forms]![Frm_HWDescription]![Combo6].[Value] & " " &
[Forms]![Frm_HWDescription]![Combo8].[Value] & " " &
[Forms]![Frm_HWDescription]![Combo10].[Value] & " " &
[Forms]![Frm_HWDescription]![Combo16].[Value] & " " &
[Forms]![Frm_HWDescription]![Combo14].[Value]))"
When I run it I get an error message stating "Expected: end of
Statement"
regards,
Jeroen