Creating Multiple One-to-Many Relationships is creating Chaos!

kellem80

Board Regular
Joined
Apr 2, 2008
Messages
95
I have a table, "Table A" created with basic data. I have another table, "Table B" that houses certain transactions done by Table A. However, I also need another table, "Table C", that houses a different set of transactions for the Table A data (I will actually have~4 tables of different transaction types).
I have successfully created the relationships necessary (I believe) between A & B. Whenever I add C or any others, I run into problems, WHY???

I may not be setting this up correctly, but basically the combination of the elements in Table A make a unique record that must have different transaction types associated with it, but must also be able to be summed, grouped and sorted by the each of the elements (example: run query to sum budget by Company or by Group), but also tied together for the unique record.

Table A Fields:
AID------Autonumber (Primary Key)
Company-Text
Group----Text
Project---Text
Task-----Text

Table B Fields:
BID------------Autonumber (Primary Key)
AID-----------Number (lookup & Relationship built between A&B)
Budget-------Currency
ChangeDate--Date/Time
DocNumber---Text

Table C Fields:
CID------------Autonumber (Primary Key)
AID------------Number (lookup)
Cost-----------Currency
EnterDate------Date/Time
DocNumber-----Text
POPStart-------Date/Time
POPEnd---------Date/Time


Table D Fields:
DID------------Autonumber (Primary Key)
AID------------Number (lookup)
Cost-----------Currency
Amount--------Date/Time
DocNumber-----Text
Description-----Memo
POPStart-------Date/Time
POPEnd---------Date/Time



Any insight is appreciated.
thx
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
kellem80 - you haven't really defined what problems you are running into. Also, the title of your posts suggest that Table A has a one to many relationship with Tables B, C, and D - is that correct? Considering that Table C & D are the exact same structure, is there a reason that they are separate? Why not combine them into one table adding an additional data item to show the difference between the two types of records. You can then use queries to separate them out.

Anyways, if you could post what types of problems you are having, I will help if I can.
 
Upvote 0
Montez659,
Thanks. I think I figured out my problem with this issue. In the end the structures for B,C & D would be very different, this was just initial setup, I know for future integration the best set up will be separate tables.
Thnaks, again.
 
Upvote 0

Forum statistics

Threads
1,215,398
Messages
6,124,699
Members
449,180
Latest member
craigus51286

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top