PC Review


Reply
Thread Tools Rate Thread

Combo Boxes to help with a search

 
 
=?Utf-8?B?Tm9ybSBIZW5kZXJzb24=?=
Guest
Posts: n/a
 
      6th Nov 2003
I am using Access2002 and have a database with a couple of hundred names and keywords entered which are adapted to their resumes. Each person could have 8-10 keywords to represent their skill levels. In the total database, there are several hundred keywords. I want to do a search using particular keywords to select out persons with prescribed skills. Currently I am using a query with the [Enter keyword] in the criteria. However, this necessitates typing the keyword each time. I would like to use a combo box which would list all the keywords. I know this can't be done in a query. However, is there a way of using a form with a combo box which would do the search?

Many thanks for your help. Norm.
 
Reply With Quote
 
 
 
 
Jim Buyens
Guest
Posts: n/a
 
      6th Nov 2003
Are you doing this in Access or in a Web page?

Do you have a table of valid keywords?

How do you store the keywords for each person? For example:
o Does the record for each person store multiple keywords
in one long field?
o Does the record for each person store one keyword
in each of several fields?
o Do the keywords for each person reside in a separate
table, with one record for each keyword for each person?

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*



>-----Original Message-----
>I am using Access2002 and have a database with a couple
>of hundred names and keywords entered which are adapted
>to their resumes. Each person could have 8-10 keywords to
>represent their skill levels. In the total database,
>there are several hundred keywords. I want to do a search
>using particular keywords to select out persons with
>prescribed skills. Currently I am using a query with the
>[Enter keyword] in the criteria. However, this
>necessitates typing the keyword each time. I would like
>to use a combo box which would list all the keywords. I
>know this can't be done in a query. However, is there a
>way of using a form with a combo box which would do the
>search?



 
Reply With Quote
 
=?Utf-8?B?Tm9ybSBIZW5kZXJzb24=?=
Guest
Posts: n/a
 
      6th Nov 2003
Many thanks, Jim. I am doing this exercise in Access and I realize that I made a mistake in filing the question in FP - I am using FP for other things on our webpage. In any event, I appreciate your questions back to me.

I have one table with the person's ID and other details - address, telephone, etc. I have a second table connected in a one to many relationship where the keywords for each person are located. It is tied together through the ID. If there are say 6 keywords for one person, that will occupy 6 records. I have set a separate table with all the keywords.

Right now, when I conduct a search I have a query which calls for the entry of the keyword being searched. This works fine except that I must type the particular keyword each time - with all the problems of typos, etc. If I could simply "pull down" the keywords from the combo box, that would simplify the operation considerably.

My next step will be to put this exercise on our website so two or three other colleagues could do some of the searching. However, I will need to do some more research and study before I undertake this part of the exercise.

I appreciate your thoughts and questions and look forward to your further response.

Norm.

----- Jim Buyens wrote: -----

Are you doing this in Access or in a Web page?

Do you have a table of valid keywords?

How do you store the keywords for each person? For example:
o Does the record for each person store multiple keywords
in one long field?
o Does the record for each person store one keyword
in each of several fields?
o Do the keywords for each person reside in a separate
table, with one record for each keyword for each person?

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*



>-----Original Message-----
>I am using Access2002 and have a database with a couple
>of hundred names and keywords entered which are adapted
>to their resumes. Each person could have 8-10 keywords to
>represent their skill levels. In the total database,
>there are several hundred keywords. I want to do a search
>using particular keywords to select out persons with
>prescribed skills. Currently I am using a query with the
>[Enter keyword] in the criteria. However, this
>necessitates typing the keyword each time. I would like
>to use a combo box which would list all the keywords. I
>know this can't be done in a query. However, is there a
>way of using a form with a combo box which would do the
>search?




 
Reply With Quote
 
Jim Buyens
Guest
Posts: n/a
 
      7th Nov 2003
"Norm Henderson" <(E-Mail Removed)> wrote in message news:<94107CF2-EBA9-4656-A0B8-(E-Mail Removed)>...
> Many thanks, Jim. I am doing this exercise in Access and I realize that I made a mistake in filing the question in FP - I am using FP for other things on our webpage. In any event, I appreciate your questions back to me.
>
> I have one table with the person's ID and other details - address,
> telephone, etc. I have a second table connected in a one to many
> relationship where the keywords for each person are located. It is tied
> together through the ID. If there are say 6 keywords for one person, that
> will occupy 6 records. I have set a separate table with all the keywords.


So, you have three tables, then? People, People_Keywords, and
Valid_Keywords? If so, you should be able to fill a drop-down list box
with the contents of the Valid_Keywords table.

Otherwise, define a query like:

SELECT Keyword
FROM People_Keywords
GROUP BY Keyword
ORDER BY Keyword;

And load the drop-down list box from that.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search combo boxes str8trini Microsoft Access Form Coding 0 31st Dec 2009 10:14 AM
search from two linked combo boxes =?Utf-8?B?U2hhdW5p?= Microsoft Access Forms 1 2nd Apr 2007 01:45 PM
Combo boxes and search forms allie357 Microsoft Access Forms 3 7th Sep 2006 06:20 AM
Error in my Search By - Search For Combo Boxes =?Utf-8?B?Q3VydGlzIFN0ZXZlbnM=?= Microsoft Access VBA Modules 3 9th Mar 2006 08:09 AM
Search Criteria: Two combo boxes: Issue with second combo Lance Microsoft Access Forms 0 21st Oct 2005 03:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:53 PM.