[thelist] CF Techniques?

Frank framar at interlog.com
Mon Aug 21 15:29:28 CDT 2000


I've got a situation with the following elements:

A search form w/ 10 criteria
A list page with the queries to fulfill the criteria, based on form.*
At the bottom of the list page is a next/prev URL

The problem is that on the first search, all goes fine, but when I've 
clicked the next link (with startrow number and criteria appended), 
the list doesn't read the criteria.

My interim solution is to create two query pages, one that responds 
to For.* another which responds to URL.*

This leads me to questions on how I can improve this:

1) Is there a way of saying "if this page is called with no form 
criteria" without using 10 ParameterExists() for 10 criteria?

2) Is there a way of setting up my query so that it responds to 
either a URL or FORM query, without doubling it in size?

I'm trying to find ways to make my code as general and efficient as possible.
-- 


Frank Marion                      Loofah Communications
frank at loofahcom.com               http://www.loofahcom.com





More information about the thelist mailing list