A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Incident Report Database Design



 
 
Thread Tools Display Modes
  #1  
Old August 9th, 2004, 08:33 PM
Jon Davidson
external usenet poster
 
Posts: n/a
Default Incident Report Database Design

I asked this question a couple of weeks ago but the suggested answer didn't
meet the need. I am a newbie at Database design and any help would be much
appreciated

I am developing an Incident Report Tracking Database and I need to be able
to enter one or several items from a list in a specific record.

This challenge is very similar to developing a record for sales transations.
I sales record could have one item from inventory or it may have several
items purchased from inventory in a single order.

How do I set up a table to accept more than one item from a list in a field?

In my application an incident report could involve just one employee or it
could involved several employees. I need to be able to list one or as many
as were involved in that incident in the record for that incident.

Again Example: an order may have one item, or an order may have several
items.

  #2  
Old August 10th, 2004, 04:56 AM
Allen Browne
external usenet poster
 
Posts: n/a
Default Incident Report Database Design

Jon, I did not see the answer you received previously, but you must use two
tables for this:
- one for the incident (with an IncidentID primary key);
- a related table for the people in the incident (with an IncidentID foreign
key).

Open the Northwind sample database.
Open the Relationships window (Tools | Relationships).
See how the Orders and Order Details tables fit together.

You must not store muliple people in one field of the main table, and you
must not create fields called Person1, Person2, etc. The related table is
the only normalized solution.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jon Davidson" wrote in message
...
I asked this question a couple of weeks ago but the suggested answer didn't
meet the need. I am a newbie at Database design and any help would be
much
appreciated

I am developing an Incident Report Tracking Database and I need to be able
to enter one or several items from a list in a specific record.

This challenge is very similar to developing a record for sales
transations.
I sales record could have one item from inventory or it may have several
items purchased from inventory in a single order.

How do I set up a table to accept more than one item from a list in a
field?

In my application an incident report could involve just one employee or it
could involved several employees. I need to be able to list one or as
many
as were involved in that incident in the record for that incident.

Again Example: an order may have one item, or an order may have several
items.



  #3  
Old August 10th, 2004, 01:23 PM
Jon Davidson
external usenet poster
 
Posts: n/a
Default Incident Report Database Design

Thank you so much, your advice was very helpful

"Allen Browne" wrote:

Jon, I did not see the answer you received previously, but you must use two
tables for this:
- one for the incident (with an IncidentID primary key);
- a related table for the people in the incident (with an IncidentID foreign
key).

Open the Northwind sample database.
Open the Relationships window (Tools | Relationships).
See how the Orders and Order Details tables fit together.

You must not store muliple people in one field of the main table, and you
must not create fields called Person1, Person2, etc. The related table is
the only normalized solution.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jon Davidson" wrote in message
...
I asked this question a couple of weeks ago but the suggested answer didn't
meet the need. I am a newbie at Database design and any help would be
much
appreciated

I am developing an Incident Report Tracking Database and I need to be able
to enter one or several items from a list in a specific record.

This challenge is very similar to developing a record for sales
transations.
I sales record could have one item from inventory or it may have several
items purchased from inventory in a single order.

How do I set up a table to accept more than one item from a list in a
field?

In my application an incident report could involve just one employee or it
could involved several employees. I need to be able to list one or as
many
as were involved in that incident in the record for that incident.

Again Example: an order may have one item, or an order may have several
items.




 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display Parameter from Form on Report sara Setting Up & Running Reports 10 July 19th, 2004 04:54 PM
Label SRIT General Discussion 2 June 22nd, 2004 09:42 PM
Database design question gil General Discussion 3 June 13th, 2004 04:31 PM


All times are GMT +1. The time now is 11:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.