Use sub_cats.recordcount

-----Original Message-----
From: WL [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 07, 2000 2:48 PM
To: Cold Fusion Talk
Subject: Basic: number of rows returned?


Hi,

Sorry for the basic question - but we all have to start somewhere right?

OK all I need to do is find out how many rows are returned on the
following
Query:

<cfquery name = "sub_cats" datasource = "localads">
    Select sub_id, sub_name, sub_descript
        FROM sub_categories
            WHERE cat_id = '#cats.ID#'

</cfquery>

Thanks...:)

Will
--
Lukrative Media Ltd - Berkshire, UK

------------------------------------------------------------------------
------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to