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.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:250787
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to