I am new to databases, and have spent about a week working through a self-tuition book. I am now trying to construct my first database, the aim of which is to enable me to manage URLs that contain interesting information about store automation technology in the retail industry (an area I research for my job).
Each URL might contain information that relates to one or more countries, one or more products, etc. I wish to be able to search the database to find all the articles which relate to (e.g.) a particular country.
From what I have read, good database design advises against having a table in which each possible product and country is a separate field [with the relevance to each indicated by a simple Yes/No].
As far as I can see, I should create an ID for each URL "URLID", and then have a table which contains with fields for URLID, Country, Product etc. There can then be multiple records attached to each URLID, which indicate the relevance of that URLID.
However, it seems to me that this would make the process of creating records (using a form) very time-consuming, as forms seem to only let you edit/create one record at a time. For example, a URL that is relevant to 1 product and 3 countries, would require me to create 3 records. For a URL that is relevant to 2 products and 4 countries, I would need to enter 8 records. What would be ideal would be to have a form which allows me to create multiple records simultaneously for each new URL. This would ideally be a form which would contain check boxes for each product type (probably only 3 or 4), each country, etc.
I've read and re-read the book I've been using ("Microsoft Office Access 2003: Step-by-Step"), which definitely doesn't answer the question, and I've looked on this site for similar questions, also without success.
Am I missing something obvious? Can anyone help?
Thanks very much,
Tom
Each URL might contain information that relates to one or more countries, one or more products, etc. I wish to be able to search the database to find all the articles which relate to (e.g.) a particular country.
From what I have read, good database design advises against having a table in which each possible product and country is a separate field [with the relevance to each indicated by a simple Yes/No].
As far as I can see, I should create an ID for each URL "URLID", and then have a table which contains with fields for URLID, Country, Product etc. There can then be multiple records attached to each URLID, which indicate the relevance of that URLID.
However, it seems to me that this would make the process of creating records (using a form) very time-consuming, as forms seem to only let you edit/create one record at a time. For example, a URL that is relevant to 1 product and 3 countries, would require me to create 3 records. For a URL that is relevant to 2 products and 4 countries, I would need to enter 8 records. What would be ideal would be to have a form which allows me to create multiple records simultaneously for each new URL. This would ideally be a form which would contain check boxes for each product type (probably only 3 or 4), each country, etc.
I've read and re-read the book I've been using ("Microsoft Office Access 2003: Step-by-Step"), which definitely doesn't answer the question, and I've looked on this site for similar questions, also without success.
Am I missing something obvious? Can anyone help?
Thanks very much,
Tom