J
Joe Ventre
I am trying to write a query where all records where the value of a field in
one table is contained within the value of a field in another table. For
example If Field A in Table Z has the value XXX and Field B in Table Y has
the value aaaXXXzzz I would want data from both of those records to be shown
in the results. Once I place these fields in the query design form how do I
write the statement that goes into the Criteria line of the form. If I put
[Z]![A] on the criteria line under Field B on the form I can find exact
matches but if I use Like *[Z]![A]* (to designate Like with wildcard
characters in front of and behind the field name) the query does not work.
one table is contained within the value of a field in another table. For
example If Field A in Table Z has the value XXX and Field B in Table Y has
the value aaaXXXzzz I would want data from both of those records to be shown
in the results. Once I place these fields in the query design form how do I
write the statement that goes into the Criteria line of the form. If I put
[Z]![A] on the criteria line under Field B on the form I can find exact
matches but if I use Like *[Z]![A]* (to designate Like with wildcard
characters in front of and behind the field name) the query does not work.