P
pepandmax
Hi,
I am working on a database to hold schedules for a public transit
agency. I have one table called "Trips" with fields such as "Route#,"
"Trip#," "Stop01Time," "Stop02Time," etc. Another table
("StopsPerRoute") has the stop names for each route.
I have set up a report to show the schedule for one route, with trip
numbers in one column on the left and stop times in columns on the
right. I used DLookup to get the stop names for the route in
question, and put them in the page header. Looks great!
Now, we break our routes up into inbound and outbound segment. Thus,
Route 35 is actually two routes: 3500 (outbound) and 3510 (inbound).
The next logical step is to set up a report that shows both the Rt.
3500 and 3510 schedule on one page, with "trip 1" of the Rt. 3500
lined up with "trip 1" of the Rt. 3510.
I have tried setting up the report in a similar manner to the "single
route only" report by setting up a query to call for the first route
and another query to call for the second route, but this resulted in
all of the trips of the Rt. 3500 grouped together, and all of the
trips of the Rt. 3510 grouped under that. Then, I tried to group
based on trip, but since I'm calling trip numbers from two separate
queries, I got the same results. What do you think is the best way to
approach this task?
In addition, since the user will really be looking for "Rt. 35," not
"Rts. 3500 and 3510," is there any way to set up one query based on
the first two digits of the route number? I realize that this group
is for Access Reports, so if no one can help on this one, I'll ask
elsewhere.
Thank you in advance for any help that you might be able to provide!
Looking forward to your responses.
Regards,
Nicole
I am working on a database to hold schedules for a public transit
agency. I have one table called "Trips" with fields such as "Route#,"
"Trip#," "Stop01Time," "Stop02Time," etc. Another table
("StopsPerRoute") has the stop names for each route.
I have set up a report to show the schedule for one route, with trip
numbers in one column on the left and stop times in columns on the
right. I used DLookup to get the stop names for the route in
question, and put them in the page header. Looks great!
Now, we break our routes up into inbound and outbound segment. Thus,
Route 35 is actually two routes: 3500 (outbound) and 3510 (inbound).
The next logical step is to set up a report that shows both the Rt.
3500 and 3510 schedule on one page, with "trip 1" of the Rt. 3500
lined up with "trip 1" of the Rt. 3510.
I have tried setting up the report in a similar manner to the "single
route only" report by setting up a query to call for the first route
and another query to call for the second route, but this resulted in
all of the trips of the Rt. 3500 grouped together, and all of the
trips of the Rt. 3510 grouped under that. Then, I tried to group
based on trip, but since I'm calling trip numbers from two separate
queries, I got the same results. What do you think is the best way to
approach this task?
In addition, since the user will really be looking for "Rt. 35," not
"Rts. 3500 and 3510," is there any way to set up one query based on
the first two digits of the route number? I realize that this group
is for Access Reports, so if no one can help on this one, I'll ask
elsewhere.
Thank you in advance for any help that you might be able to provide!
Looking forward to your responses.
Regards,
Nicole