T
TooFolkGR
Currently I have this query:
SELECT tblSiteSetups.CombinedStorefront, *
FROM tblSiteSetups
WHERE (((tblSiteSetups.CombinedStorefront)=Yes) AN
((tblSiteSetups.siteCustomerNumbers) In (SELECT CustomerNumbers FRO
tblWork)));
It -works- in that it returns all records in tblSiteSetups that matc
the exact customer numbers in tblWork, but I want it to return al
records in tblSiteSetups that even -contain- customer numbers i
tblWork.
For example, if tblWork has customer number "55" in it, and a record i
tblSiteSetups has Customer Numbers "45, 55, 67, 99" I want it to retur
that record. Currently it's -only - returning records where there i
an exact match. I figured this would involve putting a LIK
somewhere... that's about as far as I got. Any suggestions
SELECT tblSiteSetups.CombinedStorefront, *
FROM tblSiteSetups
WHERE (((tblSiteSetups.CombinedStorefront)=Yes) AN
((tblSiteSetups.siteCustomerNumbers) In (SELECT CustomerNumbers FRO
tblWork)));
It -works- in that it returns all records in tblSiteSetups that matc
the exact customer numbers in tblWork, but I want it to return al
records in tblSiteSetups that even -contain- customer numbers i
tblWork.
For example, if tblWork has customer number "55" in it, and a record i
tblSiteSetups has Customer Numbers "45, 55, 67, 99" I want it to retur
that record. Currently it's -only - returning records where there i
an exact match. I figured this would involve putting a LIK
somewhere... that's about as far as I got. Any suggestions