A
Aikiart
Hello all,
I'm trying to do a query on 2 tables. This query works as long as I create
a table to hold one day of data.
The query is designed to show names of users that were not in the table with
the date. For example, I want to see all Gateway user id, that were not in
8-02-08. I'm able to do this query.
What i'd like to do is import several days of data into a table and create a
query that would allow a result set just for one day. The problem I
encounter is that my query, is using the entire data set to determine the
result, rather than a specific day. Does anyone know of a way to do a query
on several days worth of data but that is only looking at one day at a time?
The flag is a criteria for eliminating weekend employees from the result.
Thank you
Art
SELECT [Gateway users].[Gateway user id]
FROM [Gateway users] LEFT JOIN [8-02-08] ON [Gateway users].[Gateway user
id] = [8-02-08].[Login Name]
WHERE ((([8-02-08].[Login Name]) Is Null) AND (([Gateway users].flag)<>Yes));
I'm trying to do a query on 2 tables. This query works as long as I create
a table to hold one day of data.
The query is designed to show names of users that were not in the table with
the date. For example, I want to see all Gateway user id, that were not in
8-02-08. I'm able to do this query.
What i'd like to do is import several days of data into a table and create a
query that would allow a result set just for one day. The problem I
encounter is that my query, is using the entire data set to determine the
result, rather than a specific day. Does anyone know of a way to do a query
on several days worth of data but that is only looking at one day at a time?
The flag is a criteria for eliminating weekend employees from the result.
Thank you
Art
SELECT [Gateway users].[Gateway user id]
FROM [Gateway users] LEFT JOIN [8-02-08] ON [Gateway users].[Gateway user
id] = [8-02-08].[Login Name]
WHERE ((([8-02-08].[Login Name]) Is Null) AND (([Gateway users].flag)<>Yes));