Number of Rows returned by a query

Discussion in 'Programming' started by ip076, Sep 6, 2007.

  1. #1
    I tried searching, but no luck, maybe its user error?

    I've got a decent understanding of PHP and am just now learning cold fusion. Is there a quick cf function to determine the number of rows returned by a query?

    I did a query on a query and came up with the number, but is there an easier way?

    Thanks!
     
    ip076, Sep 6, 2007 IP
  2. mjamesb

    mjamesb Member

    Messages:
    88
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    48
    #2
    i haven't programmed in CF since V5-6 but can't imagine it changed that much...used to be

    queryname.recordcount
     
    mjamesb, Sep 6, 2007 IP
  3. ip076

    ip076 Peon

    Messages:
    79
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the response. I'll try it when I get back to the office tomorrow morning.

    Like I said, I'm just now learning CF. So far, I really like it.

    Thanks again for the help!
     
    ip076, Sep 6, 2007 IP
  4. nerveman

    nerveman Guest

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You're not mistaken mjamesb, it is still queryname.recordcount
     
    nerveman, Sep 17, 2007 IP