<queryname>.recordcount
In your example it would be sub_cats.recordcount
HTH,
Howie Hamlin
--
inFusion Project Manager; On-Line Data Solutions, Inc. (631)737-4668
===================================================
Please vote for iMS in the Most Innovative category here:
*** http://www.sys-con.com/ColdFusion/readerschoice2000/ ***
===================================================
Check out inFusion Mail Server - the world's most configurable email server
*** inFusion Authenticator for IIS is now released! (download from
CoolFusion.com) ***
http://www.teletrends.com and http://www.coolfusion.com
Software and utilities for ColdFusion, iHTML, Website, NTMail
Latest versions available from our web site (inFusion Authenticator version
2.0 for WebSite and NTMail is now released)
----- Original Message -----
From: WL <[EMAIL PROTECTED]>
To: Cold Fusion Talk <[EMAIL PROTECTED]>
Sent: Sunday, May 07, 2000 3:47 PM
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.