asked on
SELECT DISTINCT CustomerID, CustomerLastActivity FROM ltblAllItems WHERE CollectorID = 'DEFAULT' AND (ISNULL(CollectionStatus) OR CollectionStatus = '');
ASKER
ASKER
SELECT DISTINCT ltblAllItems.CustomerID, ltblAllItems.CustomerLastActivity
FROM ltblAllItems
WHERE (((ltblAllItems.CollectorID)='DEFAULT') AND ((ltblAllItems.CollectionStatus) Is Null Or (ltblAllItems.CollectionStatus)=''));
ASKER
SELECT DISTINCT CustomerID, CustomerLastActivity FROM ltblAllItems WHERE CollectorID = "DEFAULT" AND (ISNULL(CollectionStatus) OR CollectionStatus = "");
ASKER
ASKER
ASKER
Set ARCustomersQR = CurrentDb.CreateQueryDef("SELECT DISTINCT CustomerID, CustomerLastActivity FROM ltblAllItems WHERE CollectorID = 'DEFAULT' AND (Nz((CollectionStatus), '')='')")
ASKER
ASKER
SQL (Structured Query Language) is designed to be used in conjunction with relational database products as of a means of working with sets of data. SQL consists of data definition, data manipulation, and procedural elements. Its scope includes data insert, query, update and delete, schema creation and modification, and data access control.
TRUSTED BY
SELECT DISTINCT CustomerID, CustomerLastActivity FROM ltblAllItems WHERE CollectorID = 'DEFAULT' AND (CollectionStatus IS NULL) OR CollectionStatus = '');