C
Cy
This is a reposting of an old thread that I never did get complete
help on. I'm hoping that with the holiday cheer being around, someone
might read and help a fellow poster out.
Here is what I have: I have a table that contains date of visit, job
code, job number, employee number and total hours.
What I would like to be able to do, is pull a query or some other
method, to view how many times we visited a job number, for a specific
job code, within a date range period and get a count of those visits.
Easy enough. However, I need to be able to distinguish, that if the
visit for a particular job code, was within the last two days, we only
count that as one visit. Example. We visit a client, on say December
24th, to perform a job code. We didn't finish the job, but return on
the 26th, because the 25th is Christmas, and we finish the work on the
26th. Need to be able to count that visit, the 24th and subsequent
26th as 1 visit.
Anyone got any suggestions or ideas?
Thanks
help on. I'm hoping that with the holiday cheer being around, someone
might read and help a fellow poster out.
Here is what I have: I have a table that contains date of visit, job
code, job number, employee number and total hours.
What I would like to be able to do, is pull a query or some other
method, to view how many times we visited a job number, for a specific
job code, within a date range period and get a count of those visits.
Easy enough. However, I need to be able to distinguish, that if the
visit for a particular job code, was within the last two days, we only
count that as one visit. Example. We visit a client, on say December
24th, to perform a job code. We didn't finish the job, but return on
the 26th, because the 25th is Christmas, and we finish the work on the
26th. Need to be able to count that visit, the 24th and subsequent
26th as 1 visit.
Anyone got any suggestions or ideas?
Thanks