Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorrting an arrar of searched files 1

Status
Not open for further replies.

skullblock

Programmer
Mar 4, 2003
8
US
Can anyone give me an idea on how to sort some files that the user wanted searched in in arrar so I can display them alphabetically. Thank you
 
Will I have trouble with this sort if the files are in different sub folders?
Thanks for the response though that helps a lot
 
This will only sort items in the array. If your search returns items from many sub folders, as long as the name of the file is in the array, all items will be sorted.

If you want to sort items within subfolders, you will need an array per folder using the File System Object.

Hope this helps,
BDC.
 
Thank you that does clear it up. Now if someone wanted to add a subfolder with more files to search to the hierarchy folder would I have to create a another array each time? Thanks for the quick response

SB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top