Howdy.
The DRW is going to create a SQL (Structured Query
Language) statement that tells the database what record
to select. When you run the DRW and specify criteria,
those criteria end up in that SQL statement.
So, if you want to select records where the database
field "city" equals "Boise" here's what you would specify
in the Criteria dialog box:
Use This Search
Field Comparison Value Form Field And/Or
----- ---------- ----- --------------- ------
city Equals Boise Cleared And
If you wanted record with a price greater than $10.00 you
would code:
Use This Search
Field Comparison Value Form Field And/Or
----- ------------ ----- --------------- ------
price Greater Than 10 Cleared And
The And/Or field applies only if you specify multiple
criteria, as shown below:
Use This Search
Field Comparison Value Form Field And/Or
----- ------------ ----- --------------- ------
state Equals AZ Cleared Or
state Equals CA Cleared Or
This selects records having a value of AZ or CA in
the "state" field.
If you select Use This Search Form Field, the Web page
will get the criteria value from an HTML form field. In
this example:
Use This Search
Field Comparison Value Form Field And/Or
-------- ------------ ----- --------------- ------
proddesc Contains pdesc Selected And
the Web Page will display all records whose product
description contains whatever text the Web visitor enters
in a text box named pdesc.
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
>-----Original Message-----
>Hello,
>I am trying to retrieve records based on certain
criteria and thought the Comparison selection might have
something to do with it. There are many options to
choose from unfortunately I do not know what these
options mean and how to use them. I checked my book and
the help menu, but I need more info. Does anybody know
what these mean.. equals less than, not equal and so on?
.
>Thanks robert
>
>.
>