navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

easy one

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> easy one
Page: [1]
 
Guest


 
easy one - 3/7/2001 18:54:00   
hi , im stumped. I have a database that i connect to and want to run a query on some fields using the DRW. The table is called Employees. The fields are lastname, firstname, ID_no, dob, sex. What i want to do is have search boxes so a user can search by any number of these fields. For instance if I want to search by just the last name Id just enter the name i want and submit, leaving the other search fields blank. Or if i want to search by LastName and dob, id enter those two search fields, etc. I want to be able to search by any number of fields. How do i do this??
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: easy one - 3/8/2001 20:45:00   
Have a look at step 3 of the drw "defaults"
You can set the empty value there.

You can use the wild card "%" if you make the search on the fields "like" (or contains) at criteria step 3

www.outfront.net/spooky/step3.htm

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!


(in reply to Guest)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> easy one
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts