J
James
I am trying to find all records that contain one of the values from the query
below. Currently if contact = true and the other two are false on the
sub-form it will only find records where contact = true and the others are
false. I would like to find all records that contain contact = true no
matter what the values are on the form are for the other two boleans.
Basically If contact = true then find all records where contact = true and
the other two are wildcards. Any ideas?
SELECT CustomerInfo.*, CustomerInfo.Contact, CustomerInfptOut,
CustomerInfo.Archive
FROM CustomerInfo
WHERE (((CustomerInfo.Contact)=[forms].[report options].[contact]) AND
((CustomerInfptOut)=[forms].[report options].[optout]) AND
((CustomerInfo.Archive)=[forms].[report options].[archive]));
below. Currently if contact = true and the other two are false on the
sub-form it will only find records where contact = true and the others are
false. I would like to find all records that contain contact = true no
matter what the values are on the form are for the other two boleans.
Basically If contact = true then find all records where contact = true and
the other two are wildcards. Any ideas?
SELECT CustomerInfo.*, CustomerInfo.Contact, CustomerInfptOut,
CustomerInfo.Archive
FROM CustomerInfo
WHERE (((CustomerInfo.Contact)=[forms].[report options].[contact]) AND
((CustomerInfptOut)=[forms].[report options].[optout]) AND
((CustomerInfo.Archive)=[forms].[report options].[archive]));