Jump to content

This topic is 5976 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi folks,

I'm creating a database and I'm having problems with relationships (I am a guy after all). I have 3 tables set up,

Authors

Agents

Manuscripts

I'd like to import all the old data I have into these layouts, all the fields are correct. Going forth, when creating new manuscript records, I'd like it to grab the information from the Authors and Agents tables, if the Author already exists in the database. I have serial number fields and have had it work to grab the Authors info, but not the Agents.

I've attached a copy of my database, it's still in the beginning stages, so nothing is final.

Any help would be appreciated.

thanks in Advance

Hank101

Manuscript_Testing_Clone.fp7.zip

Posted (edited)

You need a more direct relationship between Manuscript and Agency, based on the chosen Agency foreign key for that Manuscript.

Also, you have an Author foreign key in the Agents table. This implies that there is only 1 possible Author being handled by that Agent. If that is not true, then you need an AgentAuthors table to handle multiple authors per agent. If it is true that an author could have more then 1 agent, then it would function as a "join" table. Otherwise it's a child of Agents.

The answers to these questions determine how you'd use the above with Manuscripts. Possibilities: Choose an author, lookup their latest agent (or choose an agent from list of their agents)? Choose an agent, filter authors to their authors? Etc..

Remember, a Relationship Graph is not an ERD (Entity Relationship Diagram). It will have (many) more table occurrences than the base tables, for functionality (or organization).

Manuscript_Testing_fej.fp7.zip

Edited by Guest
Forgot file
Posted

Hi Fenton,

thanks for your response and help, I will look into the questions you brought up and see what Information I really need.

The answers to these questions determine how you'd use the above with Manuscripts. Possibilities: Choose an author, lookup their latest agent (or choose an agent from list of their agents)? Choose an agent, filter authors to their authors? Etc..

I think I'm leaning towards finding an Author, then creating a new manuscript entry, showing all the data from Author/Agent, then adding the new information. I have to investigate more in what's needed, I did add some new stuff, since this Is is an upgrade from an old FM3 database.

thanks again, I'll get back to you if/when I have more questions.

hank101

This topic is 5976 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.