Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 9th, 2004, 08:32 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Montreal, Quebec, Canada.
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sort By when table dynamically built using FSO

Is this possible? I know that SORT BY Order ASC (for example) is possible and very common when communicating with a database, but is this possible, within a File system environment?

thanks,
nancy
 
Old September 9th, 2004, 08:33 PM
Authorized User
 
Join Date: Aug 2004
Location: , , Singapore.
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

File is text stream.. order is decided when u write
work around by reading db,and overwrite previous file

 
Old September 10th, 2004, 08:13 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Montreal, Quebec, Canada.
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What do you mean by "work around by reading db,and overwrite previous file" ?

Thanks for your reply,
Nancy
 
Old September 10th, 2004, 08:16 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Nancy,

This is possible, I have done that successfully long back, let me do a search on my backup on that and post here.

Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old September 10th, 2004, 08:20 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Nancy,

Instead I could easily find it out from my favourites. Here you go, an article about how to do that.

When I get a list of all files in a directory via the FileSystemObject, they aren't ordered in any reasonable way. How can I sort the files by name? Or by size? Or by date created? Or...

Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old September 10th, 2004, 08:29 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Montreal, Quebec, Canada.
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Happygv,
I appreciate how helpful you have been, in the past and again, now.
again thank you

Nancy
 
Old September 11th, 2004, 04:17 AM
Authorized User
 
Join Date: Aug 2004
Location: , , Singapore.
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

oh, my bad..
sort order of files, not sort within a file.





Similar Threads
Thread Thread Starter Forum Replies Last Post
remember dynamically built innerHTML on browser <- crmpicco Javascript How-To 11 October 10th, 2006 02:04 AM
Sort Table Columns by Table Header Attribute omrieliav XSLT 4 June 7th, 2006 01:05 AM
Sort column in dynamic table Dreamweaver MX frodedahl Dreamweaver (all versions) 1 September 23rd, 2005 02:59 AM
FSO dynamic table sorting nancy Classic ASP Components 0 August 24th, 2005 12:46 PM
Table Sort With Javascript Ben Horne Javascript How-To 5 November 6th, 2003 05:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.