Link Records

SuddathAL

New Member
Joined
Apr 15, 2011
Messages
16
I am building a DB to track moved orders for a logistics company. Sometimes the orders travel alone and sometimes they travel together, sharing expenses. Is there a way to group or link records that travel together so that all of the financial data can be pulled for the entire movement, not just each order?

i am thinking that i can make a table that has "container number" and "pick up date" with an auto number as the primary key. Then use this number as a "Move number" as a foreighn key in my main order info table.

any comments are appreciated.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Without getting into the major logistics of it, a simple junction table would work. There would be three fields - the autonumber as a PK, and two FK's. The first FK would be the "grouping" number - you would somehow have to find a way to assign a new grouping number. The second number would be the record ID's that you want to group.

Then, any reports that you need to run you would be able to query all that were associated with a grouping number and get the info that you need combined.

This is the theory of it, and not the functioning logistics of pulling it off. Probably would need a few extra forms to group records together, or commandbutton or checkbox or something on the form to indicate that it is grouped and some way to identify how it is grouped.

It sounds like from the way that you write that you have a decent handle on Access so I didn't include any of that other stuff, but I will be happy to go into further detail if need be.
 
Upvote 0
thanks for the fast reply. I had not thought of doing it that way. I may be overthinking it, trying to get everything on one form.
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,822
Members
452,946
Latest member
JoseDavid

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