Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting Cross Tab Header based on Selection

Status
Not open for further replies.
Nov 18, 2002
15
US
I have a report that I need to look like this

Timepoint1 Timpoint2 Timepoint3

Triptime & Block 1 Arrival time Arrival time Arrival time
Triptime & Block 2 Arrival time Arrival time Arrival time
Triptime & Block 3 Arrival time Arrival time Arrival time
Triptime & Block 4 Arrival time Arrival time Arrival time
Triptime & Block 5 Arrival time Arrival time Arrival time

I can get the rows to generate in order based on the time of each block beginning trip time, but what I am having a problem with is sorting the column headers. I need them to sort in the order of the direction that is selected (i.e. east to west or vice versa) It is only sorting based on alpha. How can I get it to sort based on the direction?
 
What datatype is {table.timepoint}?

-LB
 
Okay, please show how it displays. Does it include a date or just a time in string format? Hours/minutes/seconds?

-LB
 
I'm sorry I may have confused you with the wording.

{table.timepoint} is not a time but is a name of a stop in my system (i.e. E. 30th & St. Clair Ave)

The report is to display the time that each bus hits the stop (timepoint) for each block & its adherence. The top row is the stop (timepoint).

Timepoint1(stop name) Timpoint2(stop name) Timepoint3(stop name)

Triptime & Block 1 Arrival time Arrival time Arrival time
Triptime & Block 2 Arrival time Arrival time Arrival time
Triptime & Block 3 Arrival time Arrival time Arrival time
Triptime & Block 4 Arrival time Arrival time Arrival time
Triptime & Block 5 Arrival time Arrival time Arrival time


I am having a hard time sorting the top column header based on the order of the timepoints for the block. Instead of the time that the bus is hitting the timepoint it is sorting it in alphabetical order and the arrival times are not in order.

I hope I clarified this. thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top