|
-
Dec 23rd, 2003, 11:11 PM
#1
Thread Starter
Addicted Member
Search with multi result?
Hi guys i am told to do a site with asp language.
After entering entry into database theres a search button that allows user to key in what they wanted to search.
When user search for items that only have one in database its no problem. But what my project supervisor wanted is when users search for non-unique key like company? they will show all the results that have the same company...
how do i go about doing this?
please help =)

Akababy.Net... Life Redefined!
-
Dec 23rd, 2003, 11:55 PM
#2
Re: Search with multi result?
Originally posted by baby
Hi guys i am told to do a site with asp language.
After entering entry into database theres a search button that allows user to key in what they wanted to search.
When user search for items that only have one in database its no problem. But what my project supervisor wanted is when users search for non-unique key like company? they will show all the results that have the same company...
how do i go about doing this?
please help =)
You can use SQL query to return the search result.
e.g
Select * From MyTable where Company_Name ='Company'
or
Select * From MyTable Where Company_Name Like 'Company*'
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|