Congratulations to AcaCandy on her 100,000th post!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display drive driver drivers email error ethernet excel firefox firefox 3 game hard drive internet internet explorer itunes laptop linux malware monitor network networking nvidia outlook outlook 2003 outlook 2007 outlook express partition problem router slow software sound trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Dreamweaver MX - Searching multiple fields


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
rkverma's Avatar
Junior Member with 1 posts.
 
Join Date: Oct 2004
Experience: Advanced
05-Oct-2004, 12:21 PM #1
Question Dreamweaver MX - Searching multiple fields
Using Dreamweaver MX and ASP, I am trying to create form and results page in which the user can select multiple checkbox options, which are displayed accordingly on the resulting page. Don't know whether my SQL query is right, but here it is:
SELECT *
FROM Tools
WHERE Manufacturer LIKE '%var_manuBosch%' AND Manufacturer LIKE '%var_manuDeWalt%' AND Tool LIKE '%var_toolGrinder%' AND Tool LIKE '%var_toolScrewdriver%' AND Tool LIKE '%var_toolRecSaw%' AND Tool LIKE '%var_toolCircSaw%'

My default value for every variable is %

If I select more than one checkbox, this query returns no results.

Any advice? Thanks.
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
05-Oct-2004, 01:04 PM #2
Use OR instead of AND
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:28 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.