You do realise that the form scope can be treated as an array.
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: 09 August 2001 14:39
To: CF-Talk
Subject: RE: counting form fields
Not sure about counting the number of fields returned by a form,
but... you can use:
MyQueryName.RecordCount
to show the number of results returned by a CF query.
Alex
> -----Original Message-----
> From: Michael Wolter [SMTP:[EMAIL PROTECTED]]
> Sent: 09 August 2001 14:34
> To: CF-Talk
> Subject: counting form fields
>
> Is there any way to get a count of the number of fields that are returned
> from a form?
>
> Also, is there a way to get a count of the number of records selected by
a
> cfquery? The only way I have found to do that is to do a second cfquery
> and use the "count(*)" function, but that seems to be double the work.
> In Visual Basic, I can just put ".recordcount" after the recordset name
to
> get a count. Does Cold Fusion have anything like that?
>
> Thanks!
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> | Michael Wolter [EMAIL PROTECTED] |
> | Administrative Programmer/Analyst Carlisle, PA 17013 |
> | Dickinson College, Computer Services (717) 245-1527 |
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists