Everett, Al (NIH/NIGMS) [C] wrote: > Well, yeah, because the form variables don't exist because you're not > submitting a form. > > There are a couple of ways I would attack this: > > 1. Cache the initial query to the session scope. Then do a query of > query to sort when one of the headers is clicked. > > 2. Have the form use method="get" so that query criteria are in the URL, > use URL variables in the query, and adjust the links in the headers to > include the initial criteria. > > Option 1 is best, I think, because it only has one trip to the database > per search. >
3. Google on "javascript sort table" and find a script to do the sorting client side. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250789 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

