An = in a SQL expression requires an exact match, and can not
be used with a
wildcard. You would need to change it to LIKE for this coming
from the
dropdowns where you want to test all.
--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"webgirljudi_s" <webforumsuser@macromedia.com> wrote in
message
news:ep5b06$2qj$1@forums.macromedia.com...
>I tried that and I get no results. Here is my query:
>
> SELECT Office, Office2, Floor, LastName, FirstName, MI,
Ext1, Ext2,
> DirectDial, DirectFax, CellPhone, HomePhone, Initials,
AsstExtension,
> Pager,
> ThumbnailPhoto, BioPage, AsstName, Asst2Name,
Asst2Extension
> FROM Employees
> WHERE Active = 'Y' AND (Office = strOffice OR Office2 =
strOffice2) AND
> (Title
> = strTitle OR Title2 = strTitle2)
> ORDER BY LastName ASC, FirstName ASC
>
>