richiwatts
New member
- Local time
- Today, 17:46
- Joined
- Jul 26, 2002
- Messages
- 7
Desperate to know how to write this query string
I want to have 4 search questions to search my database and they are:
language from
language to
area
name
When I do a search I want to be able to use just one of the search boxes or narrow the search results by using more than one. e.g find evryone in the database that matches language from (English) and area (Financial).
My problem is that in my database I have 3 columns/fields for language from, 2 columns/fields for language to and 8 columns/fileds for areas. So how do I write a quiry that makes sure that if I type in a search it checks as follows.
language from = Searches (languagefrom1,languagefrom2,languagefrom3) for a match.
language to = Searches (languageto1,languageto2) for a match.
area = Searches (area1, area2 through to area8) for a match.
name = Search under name field
Does this make sense?
Thank you in advance for any help?
I want to have 4 search questions to search my database and they are:
language from
language to
area
name
When I do a search I want to be able to use just one of the search boxes or narrow the search results by using more than one. e.g find evryone in the database that matches language from (English) and area (Financial).
My problem is that in my database I have 3 columns/fields for language from, 2 columns/fields for language to and 8 columns/fileds for areas. So how do I write a quiry that makes sure that if I type in a search it checks as follows.
language from = Searches (languagefrom1,languagefrom2,languagefrom3) for a match.
language to = Searches (languageto1,languageto2) for a match.
area = Searches (area1, area2 through to area8) for a match.
name = Search under name field
Does this make sense?
Thank you in advance for any help?
Last edited: