G
George Applegate
Questions on an access data base:
I have two tables in a data base
Employee daily ins/outs (time clock)
Employee master file
I am considering have different queries access different data (i.e.
selected department), but also by a date range. I know how to Prompt
for date range, i.e. Enter start date, enter end date. But I'd like
to refine this a bit further. All departments will want the same date
range.
Is there a way I can put the date range I want to use into another
table and then selecte records from the daily ins/outs by referencing
the dates in another table?
Right now I've been putting in the one query hard-coded dates, i.e.
logdate > 04/26/2008. But with say 20 departments, I don't want to do
that; I want separate queries set for each department so I can put
security on that they can only query their own department. But I
would like to put that 04/26/2008 somewhere in another table or
something so I only have to enter it once, and then all 20
departmental queries use that date.
Any suggestions?
thanks, ga
George Applegate
(e-mail address removed)
I have two tables in a data base
Employee daily ins/outs (time clock)
Employee master file
I am considering have different queries access different data (i.e.
selected department), but also by a date range. I know how to Prompt
for date range, i.e. Enter start date, enter end date. But I'd like
to refine this a bit further. All departments will want the same date
range.
Is there a way I can put the date range I want to use into another
table and then selecte records from the daily ins/outs by referencing
the dates in another table?
Right now I've been putting in the one query hard-coded dates, i.e.
logdate > 04/26/2008. But with say 20 departments, I don't want to do
that; I want separate queries set for each department so I can put
security on that they can only query their own department. But I
would like to put that 04/26/2008 somewhere in another table or
something so I only have to enter it once, and then all 20
departmental queries use that date.
Any suggestions?
thanks, ga
George Applegate
(e-mail address removed)