MichaelSmith
Registered User.
- Local time
- Today, 10:40
- Joined
- Jan 7, 2014
- Messages
- 34
Hi!
I'm working on a database for an archaeology project which is looking for the shipwrecks of transatlantic slavers between 1600-1880 around the world. We're working on a massive archival trawl of data at the moment and I've been tasked with building the database.
I've built very simple databases (flat form) with access before but since this project is quite large I've had to switch to a relational design and I'm encountering some headaches with the data
Below is an image of the relationships I have set up at the moment:
h t t p : / / i.picyou.com/g7eNLL.jpg
To explain how my database works:
Each Ship has it's own record which assigns it's primary key and is used to store the name of the ship. Each ship could have made multiple voyages and is linked by a one to many relationship to the voyages table. On each voyage there may have been up to 3 ships captains who either died or left the voyage at some point and each captain has the possibility of having been on many voyages.
I'm trying to create a form that can be used to update all of the tables at once.
I've started with a main form based off the Ships table and inserted a Voyages subtable which works absolutely perfectly, if I enter a ship into the main table I can then add all of the voyages it took part in and this updates the voyages table.
Where I'm encountering problems is the many to many relationship between the voyages and the captains. I can't seem to find a way of making one form where I can enter the names of the captains who took part in the voyage or select them from a list if they're already in the captains table. Anyone able to advise me on how I'd go about doing this?
Thanks!
Mike
PS: If you need more details please let me know and I'll do my best to update ASAP.
PPS: Sorry about the link format, I'm sure my post count will be above 10 fairly shortly as I'm banging my head against a wall with this but for now you'll have to manually edit the image link to be able to see it.
I'm working on a database for an archaeology project which is looking for the shipwrecks of transatlantic slavers between 1600-1880 around the world. We're working on a massive archival trawl of data at the moment and I've been tasked with building the database.
I've built very simple databases (flat form) with access before but since this project is quite large I've had to switch to a relational design and I'm encountering some headaches with the data
Below is an image of the relationships I have set up at the moment:
h t t p : / / i.picyou.com/g7eNLL.jpg
To explain how my database works:
Each Ship has it's own record which assigns it's primary key and is used to store the name of the ship. Each ship could have made multiple voyages and is linked by a one to many relationship to the voyages table. On each voyage there may have been up to 3 ships captains who either died or left the voyage at some point and each captain has the possibility of having been on many voyages.
I'm trying to create a form that can be used to update all of the tables at once.
I've started with a main form based off the Ships table and inserted a Voyages subtable which works absolutely perfectly, if I enter a ship into the main table I can then add all of the voyages it took part in and this updates the voyages table.
Where I'm encountering problems is the many to many relationship between the voyages and the captains. I can't seem to find a way of making one form where I can enter the names of the captains who took part in the voyage or select them from a list if they're already in the captains table. Anyone able to advise me on how I'd go about doing this?
Thanks!
Mike
PS: If you need more details please let me know and I'll do my best to update ASAP.
PPS: Sorry about the link format, I'm sure my post count will be above 10 fairly shortly as I'm banging my head against a wall with this but for now you'll have to manually edit the image link to be able to see it.