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  

Table Design...Did I make a mistake?



 
 
Thread Tools Display Modes
  #1  
Old September 24th, 2009, 10:33 PM posted to microsoft.public.access.tablesdbdesign
Colby
external usenet poster
 
Posts: 23
Default Table Design...Did I make a mistake?

I have build a database that contains 3 main tables. Though each table has
data that refers to one element. They are for physician information and are
set up as follows:
The first table is contact information
The second is volume type info
and the third is outcome type info.

All fields are linked to one physician, however, each physician has several
quarters of data. I am running into a problem that in my form, when i add a
new record for a new quarter of values it is overwriting my previous data.

Should i have set my tables up differently?
  #2  
Old September 24th, 2009, 11:14 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Table Design...Did I make a mistake?

How are the tables related to each other? Are you saying that each table
holds a "PhysicianID"?

So how many Outcome records can you have for each physician (depends on your
primary key)? If you can only have one, there's the reason new data is
overwriting the old data ... you can only have one record per physician?!

More info, please...

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Colby" wrote in message
...
I have build a database that contains 3 main tables. Though each table has
data that refers to one element. They are for physician information and
are
set up as follows:
The first table is contact information
The second is volume type info
and the third is outcome type info.

All fields are linked to one physician, however, each physician has
several
quarters of data. I am running into a problem that in my form, when i add
a
new record for a new quarter of values it is overwriting my previous data.

Should i have set my tables up differently?



  #3  
Old September 24th, 2009, 11:45 PM posted to microsoft.public.access.tablesdbdesign
Colby
external usenet poster
 
Posts: 23
Default Table Design...Did I make a mistake?

Yes, each table holds a physicianID. Each physician will have 50 or so
idicators to track each quarter. Does this help?

"Jeff Boyce" wrote:

How are the tables related to each other? Are you saying that each table
holds a "PhysicianID"?

So how many Outcome records can you have for each physician (depends on your
primary key)? If you can only have one, there's the reason new data is
overwriting the old data ... you can only have one record per physician?!

More info, please...

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Colby" wrote in message
...
I have build a database that contains 3 main tables. Though each table has
data that refers to one element. They are for physician information and
are
set up as follows:
The first table is contact information
The second is volume type info
and the third is outcome type info.

All fields are linked to one physician, however, each physician has
several
quarters of data. I am running into a problem that in my form, when i add
a
new record for a new quarter of values it is overwriting my previous data.

Should i have set my tables up differently?




  #4  
Old September 25th, 2009, 01:02 AM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Table Design...Did I make a mistake?

Colby

If you are saying that each physician can only have one record in the
Outcomes table, that is your problem.

If the relationship between physicians and outcomes is "one-to-many", you
need a table in which you can store one row/record for EACH
physician/outcome combination, not one for ALL (that would be ... a
spreadsheet!).

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Colby" wrote in message
...
Yes, each table holds a physicianID. Each physician will have 50 or so
idicators to track each quarter. Does this help?

"Jeff Boyce" wrote:

How are the tables related to each other? Are you saying that each table
holds a "PhysicianID"?

So how many Outcome records can you have for each physician (depends on
your
primary key)? If you can only have one, there's the reason new data is
overwriting the old data ... you can only have one record per physician?!

More info, please...

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Colby" wrote in message
...
I have build a database that contains 3 main tables. Though each table
has
data that refers to one element. They are for physician information
and
are
set up as follows:
The first table is contact information
The second is volume type info
and the third is outcome type info.

All fields are linked to one physician, however, each physician has
several
quarters of data. I am running into a problem that in my form, when i
add
a
new record for a new quarter of values it is overwriting my previous
data.

Should i have set my tables up differently?






 




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 02:04 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.