Thanks. That was it.
----- Original Message -----
From: "Howie Hamlin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, January 12, 2002 2:31 PM
Subject: Re: CFDirectory and and Forms


> The cfdirectory function returns a query...so, you can use the
recordcount.  Here's an example:
>
> <cfdirectory action="list" name="mylist" directory="c:\" filter="*.*">
> <cfoutput>#mylist.recordcount#</cfoutput>
>
> HTH,
>
> --
> Howie Hamlin - inFusion Project Manager
> On-Line Data Solutions, Inc. - www.CoolFusion.com  - 631-737-4668 x101
> inFusion Mail Server (iMS) - The Intelligent Mail Server
> >>> Find out how iMS Stacks up to the competition:
http://www.coolfusion.com/imssecomparison.cfm
>
> ----- Original Message -----
> From: "Bruce Sorge" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Saturday, January 12, 2002 3:22 PM
> Subject: CFDirectory and and Forms
>
>
> > Hello again list.
> >
> > Here is what I am wanting to do I need to be able to count the number of
> > files in a particular directory. I am using CFDirectory to find and list
> > the files, the problem I am having is counting them. I need to do this
> > so that I can wrap these files into a dynamic table and also add a
> > couple of form controls to them as well for submitting to a server.
> > How do I count the files?
> >
> > Thanks,
> > _________________________________________
> > Bruce Sorge
> > ICQ#:145050973
> > Current ICQ status:
> >
> > SMS: (Send an SMS message to my ICQ): +2783142145050973
> > More ways to contact me: http://wwp.icq.com/145050973
> > _________________________________________
> >
> >
> 
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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

Reply via email to