G
Guest
I need to write a query where given a start and stop date, the query results
would produce a value for every day and hour inbetween. We bill hourly, so
on our statement detail page my boss wants me to list each hour with a
corresponding dollar amount. A job can cross over days, so it also needs to
recognize any days inbetween. Please advise as to how I can set this up.
So far I've created a table of hours (24 rows) and have been able to create
a query that can grab the inbetween hours for one day. But I can't figure
out how to get a query to recognize more than one day.
Thank you!
would produce a value for every day and hour inbetween. We bill hourly, so
on our statement detail page my boss wants me to list each hour with a
corresponding dollar amount. A job can cross over days, so it also needs to
recognize any days inbetween. Please advise as to how I can set this up.
So far I've created a table of hours (24 rows) and have been able to create
a query that can grab the inbetween hours for one day. But I can't figure
out how to get a query to recognize more than one day.
Thank you!