1 Reply Latest reply on Mar 7, 2008 6:01 AM by Dan Bracuk

    Printing Structure Issue

    apocalipsis19 Level 1
      Hi Folks!

      I am writing a report and I am printing the days of the week, school day periods and the rooms that are empty on any period. To print my structure I do the following:

      <cfif StructKeyExists(roomStruct,Periods.PERIOD_CODE[period])>
      <cfif StructKeyExists(roomStruct[Periods.PERIOD_CODE[period]],CycleDays.DAY_CODE[day])>
      #StructKeyList(roomStruct[Periods.PERIOD_CODE[period]][CycleDays.DAY_CODE[day]])#
      </cfif>
      </cfif>

      The issue is that I am getting the following set of rooms (example):

      ,Room1,Room2, Room3

      Please note the comma before room 1. The customers do not want that. Did I miss a step?

      I'd appreciate any feedback!

      Apocalipsis!