Skip to main content
Participant
June 29, 2006
Answered

Max Date

  • June 29, 2006
  • 2 replies
  • 511 views
I am trying to output the max date of a subset of a query using cfloop query (determined by the number of records to be displayed). I can determine the max date for the results of the entire query, but not the subset. Any ideas would be greatly appreciated.
    This topic has been closed for replies.
    Correct answer web-spinners
    Create a variable and initially set it to the first date in the loop. Then check it for every iteration.

    2 replies

    RuszajAuthor
    Participant
    June 29, 2006
    THANK YOU WEB-SPINNERS!
    Inspiring
    June 29, 2006
    How are you generating the subset?
    RuszajAuthor
    Participant
    June 29, 2006
    <cfloop query="searchResults" startrow="#form.startRow#" endrow="#form.endRow#">
    </cfloop>
    web-spinnersCorrect answer
    Inspiring
    June 29, 2006
    Create a variable and initially set it to the first date in the loop. Then check it for every iteration.