Print Page | Close Window

For Next sorting

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=22296
Printed Date: 29 March 2026 at 8:32am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: For Next sorting
Posted By: zMaestro
Subject: For Next sorting
Date Posted: 30 December 2006 at 10:34am
Hi,
I use this script to return all the fields of a form:
For each ClientX in Request.Form
Response.Write("<b>"&ClientX&"</b>: "&Request.Form(ClientX)&"<br>")&VbCrLf
Next
 
The problem is the output comes not sorted! Is there a way of having the resurt sorted?



Replies:
Posted By: michael
Date Posted: 30 December 2006 at 10:58am
You would have to put the results into an array, do a binary sort...alternatively into a xml and use a xml sort method (that would count for every ttype of db.)

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net