If I'm right, then this code snippet..
=================================================
<cfdirectory directory="#pDir1#" action="" name="daList" sort="name"
filter="les*">
<cfset p = "#daList.RecordCount#">
=================================================
would return to p the number of files in the directory pDir1 where the
filenames start with the characters "les".
Obviously, though, I'm not right, because p never gets a value other than 0.
What am I doing wrong?
--
Richard S. Crawford
Programmer III,
UC Davis Extension Distance Learning Group (http://unexdlc.ucdavis.edu)
(916)327-7793 / [EMAIL PROTECTED]
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Re: Number of files in a directory Richard Crawford
- Re: Number of files in a directory Ben Doom
- RE: Number of files in a directory Nando
- Re: Number of files in a directory Ben Doom
- Re: Number of files in a directory - RES... Richard Crawford
- CFEXECTE more than one argument brobborb
- Re: CFEXECTE more than one argument Jamie Jackson
- RE: Number of files in a directory Lofback, Chris