I want to dispaly a list of records consisting of "start date", "end date", "location", and "state" as column headers...but, the information I want to display is so long. So, as not to loose vertical space, I want to be able to continue displaying the list horizontaly, i. e., have at least 2 tables (each w/ start date, end date, location, and state as headers) that continue displaying records from the same list. Here is my code that doesn't do the task:
p.S. Open for sugestions...
p.S. Open for sugestions...
Code:
<TABLE CELLPADDING="0" BORDER="1" width=780>
<TR>
<TD>
<TABLE width=395>
<TD align=left width=0><B><U>Start Date</U></B></TD>
<TD align=left width=0><B><U>End Date</U></B></TD>
<TD align=left width=0><B><U>Location</U></B></TD>
<TD align=left width=0><B><U>State</U></B></TD>
</TABLE>
</TD>
<TD>
<TABLE WIDTH=395>
<TD align=left width=0><B><U>Start Date</U></B></TD>
<TD align=left width=0><B><U>End Date</U></B></TD>
<TD align=left width=0><B><U>Location</U></B></TD>
<TD align=left width=0><B><U>State</U></B></TD>
</TABLE>
</TD>
</TR>
<CFIF GetSessions.RecordCount GTE 1>
<CFOUTPUT QUERY="GetSessions">
<CFIF (Len(GetSessions.StartDate) is 8) AND (Len (GetSessions.EndDate) is 8)>
<TR>
<TD align=left width=0>#Left(MonthAsString(Mid (StartDate,5,2)),3)# #Mid(StartDate,7,2)#,#Mid(StartDate,1,4)#
</TD>
<TD align=left width=0>#Left(MonthAsString(Mid(EndDate,5,2)),3)# #Mid(EndDate,7,2)#,#Mid
(EndDate,1,4)#
</TD>
<TD align=left width=0>#Location#</TD>
<TD align=left width=0>#State#</TD>
</TR>
</CFIF>
</CFOUTPUT>
</CFIF>
</TABLE>