I am not an access programmer or VBA, however I want to put this SQL statement
into a query, and do not know how to set up the VBA part to run with a query.
The initial query looks like this:
Select Date, timein, timeout, count(auto), count(taxi), count(walker), count(public_trans, Hour(timein) as Time
where Time between timein and timeout.
I want to run this for a = 1 to 24 ( number of hours in the day. So, I believe
I would Dim a as Integer. However how do I get this into a query?
Thanks
Rob
into a query, and do not know how to set up the VBA part to run with a query.
The initial query looks like this:
Select Date, timein, timeout, count(auto), count(taxi), count(walker), count(public_trans, Hour(timein) as Time
where Time between timein and timeout.
I want to run this for a = 1 to 24 ( number of hours in the day. So, I believe
I would Dim a as Integer. However how do I get this into a query?
Thanks
Rob