|
Chugachman -> Using <, > = in search form fields. (2/8/2004 20:32:20)
|
I'm going nuts trying to figure this out. I have an Access DB field with numbers (hiking trails-miles one way). I'm trying to create a search form which includes that field with options such as less than 3 miles, less than 6 miles, greater than 12, etc. In the DBR wizard (according to an MS document) I put "1 OR 1" (no qoutes) in the default value. In the search field which I converted to a drop box, I have the values < #, > #, etc for each option (ie: Option is 0-3, value is < 4) When I do a test I keep getting a syntax error that I don't have an operator. Am I doing something wrong or is it just not doable this way. Can I only put in a # and not be able to use <, >. If so, is there an alternative way of doing this? Thanks! I'm so close to have a real search form and this is the last piece of the puzzle. here is the test page to show the error message: http://www.akhs.atfreeweb.com/fpdb/TestPages/test14.asp (doesn't matter = 1 OR 1 which is supposed to bring up all values which it does but if I put in any other option, it gives the error message) Here is my site in which I'm trying to get this info on. If you go to Search Hikes, you can see the simple ASP pages I created that does not string together criteria. www.akhs.atfreeweb.com
|
|
|
|