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  

database design basic help



 
 
Thread Tools Display Modes
  #1  
Old May 6th, 2004, 12:21 AM
als0107
external usenet poster
 
Posts: n/a
Default database design basic help

I am new to database design and have a basic question about how to set it up...
I am trying to create a database for media information. There will be multiple contacts (reporters, editors, etc) from each company. Is there a way to have the main company information remain the same for each seperate contact and update automatically when one is changed?
  #2  
Old May 6th, 2004, 12:36 AM
Van T. Dinh
external usenet poster
 
Posts: n/a
Default database design basic help

Yes. That's how you use database "relationally".

Basically, you have 2 Tables: 1 for Companies and 1 for Persons. You
create a One-to-Many relationship between the Companies Table and Persons
Table, in a way, saying that a Company can have many Staff.

Check Access Help / Access books on One-to-Many relationship. Also on the
Many-to-Many relationship just in case this is more suitable for you.

--
HTH
Van T. Dinh
MVP (Access)



"als0107" wrote in message
...
I am new to database design and have a basic question about how to set it

up...
I am trying to create a database for media information. There will be

multiple contacts (reporters, editors, etc) from each company. Is there a
way to have the main company information remain the same for each seperate
contact and update automatically when one is changed?


  #3  
Old May 6th, 2004, 01:33 AM
Jessestonecedar
external usenet poster
 
Posts: n/a
Default database design basic help

when creating the two tables, use the autonumber in companies so that the field
name would be Company!id. In the persons table, have a field called Company
which holds the id. Company!id would be the primary key in company. In persons,
the field Company should be indexed non-unique. In tools-Relationships, create
a one to many link between Company!ID and Persons!Company. When you browse, the
links will be accessable through the plus sign for each company showing all
persons for that company.

Rich

  #4  
Old May 6th, 2004, 07:26 PM
als0107
external usenet poster
 
Posts: n/a
Default database design basic help

Thank you for the suggestions! Very helpful! I appreciate your time.
 




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


All times are GMT +1. The time now is 11:23 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.