473,378 Members | 1,468 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Help with coding and setting up a functioning keyword search

Hi everybody,

I’m creating a database in Access (I believe it’s 2000) to catalogue items in the archives of a small museum. I’m a total n00b as far as using Access goes, but by looking at some online tutorials and how the museum’s existing collections catalogue is set up in Access, I’ve been able to come up with a basic database that suits the museum’s needs.

My biggest issues right now concern Relationships and Codes. I managed to get a working relationship between the main archives table (tblMainArchives) and a separate table for categories (tblCategories), but my boss also suggested creating separate tables for the storage location of archives as well as for keywords. Basically, we’re trying to make the archives database a bit more functional than the collections database by including a searchable section for keywords so that if, for instance, someone is searching for all letters (keyword) written by Smith (keyword) or all photos (keyword) depicting the interior (keyword) of the museum (keyword), that would be easily doable and then one could either view scans of the material in the database or use the database to find the location of the object in the archives. Hopefully that wasn’t too complicated.

I’m not really dealing with the storage location situation for the time being since we’re still working out how to organize that, but we’re really hoping to get a searchable keywords thing going. Currently I have a field for Keywords in tblMainArchives and I also have a table for keywords (tblKeywords), but I’m not sure if I’ve set up a proper relationship between the two, or if I even need one.

Looking at this site, I’ve found two posts with similar questions regarding a keyword search, but since I have no idea how to deal with code, even after reading some tutorials, I wasn’t really able to use the information in those posts (Search by multiple keywords and Search form with checkboxes and keywords) to help me. What I’d like to create is not only a searchable database, but a searchable keywords section. I’d like each entry to have its keywords viewable in the form (frmArchives) along with all other information such as accession number, title, etc., but I’d also like for the keywords section to be searchable so that other entries with the same keywords entered in a search can also be located. Also, as in one of those previous posts, I’d like the keywords to be located even if it’s out of order (i.e., a search for “Smith, letter” will locate an entry even if it’s entered as “letter, Smith” in the keywords). Does that make sense, and is it possible?

If you’re willing to help out with coding and all that, I’d appreciate it if you could please explain it and dumb it down as much as possible so that I can understand it. Also, if you need any more information, just ask!

Thanks in advance,
Rebecca
Jul 19 '07 #1
2 2647
hyperpau
184 Expert 100+
Hi everybody,

I’m creating a database in Access (I believe it’s 2000) to catalogue items in the archives of a small museum. I’m a total n00b as far as using Access goes, but by looking at some online tutorials and how the museum’s existing collections catalogue is set up in Access, I’ve been able to come up with a basic database that suits the museum’s needs.

My biggest issues right now concern Relationships and Codes. I managed to get a working relationship between the main archives table (tblMainArchives) and a separate table for categories (tblCategories), but my boss also suggested creating separate tables for the storage location of archives as well as for keywords. Basically, we’re trying to make the archives database a bit more functional than the collections database by including a searchable section for keywords so that if, for instance, someone is searching for all letters (keyword) written by Smith (keyword) or all photos (keyword) depicting the interior (keyword) of the museum (keyword), that would be easily doable and then one could either view scans of the material in the database or use the database to find the location of the object in the archives. Hopefully that wasn’t too complicated.

I’m not really dealing with the storage location situation for the time being since we’re still working out how to organize that, but we’re really hoping to get a searchable keywords thing going. Currently I have a field for Keywords in tblMainArchives and I also have a table for keywords (tblKeywords), but I’m not sure if I’ve set up a proper relationship between the two, or if I even need one.

Looking at this site, I’ve found two posts with similar questions regarding a keyword search, but since I have no idea how to deal with code, even after reading some tutorials, I wasn’t really able to use the information in those posts (Search by multiple keywords and Search form with checkboxes and keywords) to help me. What I’d like to create is not only a searchable database, but a searchable keywords section. I’d like each entry to have its keywords viewable in the form (frmArchives) along with all other information such as accession number, title, etc., but I’d also like for the keywords section to be searchable so that other entries with the same keywords entered in a search can also be located. Also, as in one of those previous posts, I’d like the keywords to be located even if it’s out of order (i.e., a search for “Smith, letter” will locate an entry even if it’s entered as “letter, Smith” in the keywords). Does that make sense, and is it possible?

If you’re willing to help out with coding and all that, I’d appreciate it if you could please explain it and dumb it down as much as possible so that I can understand it. Also, if you need any more information, just ask!

Thanks in advance,
Rebecca


As i read your post, I think what you would like to do is a certain
form where the customers could enter a key word, then click a button,
then all matching results would be shown, right?

If yes, then this is where a query would be very helpful
if you want to find a keyword "Smith" and locate records that has "Smith" in it
even if it contains other words or letters, you will just need a wild card which is represented by the % sign on the criteria of your query.
example: Criteria: Like %Smith%

This would return all records that has smith in it.

You may want a form bound to that parameter query and setup the search form to open that results form based on the keywords supplied in the search form.
Jul 19 '07 #2
As i read your post, I think what you would like to do is a certain form where the customers could enter a key word, then click a button, then all matching results would be shown, right?
Basically; the database is just going to be used by museum employees, and it's to help us as well as answer any archival questions directed towards us by patrons or whomever, but that's essentially it. Also, it wouldn't necessarily be a singular keyword, but multiple keywords could be searched at one time in order to filter results.

I actually had thought of a query, but since we tend to do seaches and the like in the form view using the binoculars for our existing collections database, I was wondering if it was possible to do a keyword search beyond the scope of the binoculars search for this new archives database.
Jul 19 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Jacek Generowicz | last post by:
Where can I find concise, clear documentation describing what one has to do in order to enable Python's internal help to be able to provide descriptions of Python keywords ? I am in a situation...
20
by: titi | last post by:
Question The road and traffic authority for a small country currently uses a system to store information about all 'currently' licensed drivers. A licensed driver has the following info stored...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
5
by: ComicCaper | last post by:
Hi all, I use a quiz program that accepts a text file for questions and answers in this format: Question Answer1 <----is the correct answer. Quiz randomizes answers. Answer2 Answer3...
7
by: Siv | last post by:
Hi, I have a stored procedure that I want to execute and then wait in a loop showing a timer whilst it completes and then carry on once I get notification that it has completed. The main reason...
7
by: gmclee | last post by:
Hi there, I am writing a program to load HTML from file and send it to IE directly. I've met some problem in charset setting. Most of HTML have charset "us-ascii", for some reason, some UNICODE...
5
by: kanley | last post by:
I have a main table with a text description field. In this field, its populated with a string of data. I need to identify from this string of data the name of the vendor using some keywords. I...
5
by: viji | last post by:
How to allocate and de-allocate the memory thr' C# with example coding?
12
by: iahamed | last post by:
Hi Everyone, I got two parts of my advance search to work, I am running out of Logic to connect the third. My mind is in swing! Pleaseeeeeeeee Help me. I have 3 Fiels to search, the First two...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.