[DUG] Grouping files

Jeremy Coulter vss at vss.co.nz
Thu Sep 22 11:40:35 NZST 2005


Hi All.
I have been given a request that means I need to look inside some zip files 
in an archived dir we have.
I only need to look at certain files within a certain file date range BUT, 
we unfortunitly have over 7700 files in this dir !!!! I know, I know....but 
this is only a couple of mnths worth of files ! so we kinda have to live 
with.

Is there a way to "Group" files togeither so that when I do a TSearchRec 
search, the files are in decending order of date?
Then, I can look at the file date and if its not within the range, I can 
stop the searchrec.....I hope you understand what I mean.

I thought about loading the files into an array, and sorting them on date 
then getting rid of the ones I dont need or as it loops thru, just ignore 
the ones I dont want, but this is just as slow as doing a SearchRec.

anyone got any ideas?

Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20050922/4694511a/attachment.html


More information about the Delphi mailing list