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]

Reply via email to