Hi guys,
Trying to get my head around how to setup my tables and relationships.
It's more complicated than any of the references and tutorials that I have read through so have no choice but to post asking for help. I did try to work it out on my own, honest!
I have several tables and queries based on tables and cannot get them to generate the results I want when querying them (just one record shows when many should be showing), so this leads me to believe there's a problem with the way I have set my relationships;
I have the staff queries so I can choose from a list of names that are relevant to that job in a form, so we don't have to look through a huge list of staff
I then want to use a query to pull all this information together (project details and contact details of each person involved) so that I can print a single record on a report, however the query isn't working correctly and returns only one project record, not all of them.
There is only one leader, one project coordinator and one minion per project (as far as I am concerned) and I want to reflect this in the query by providing their name and contact details from the single staff list.
Would this work?
Is the relationship between the project and the individual roles Many-to-Many or One-to-Many.
I have many projects, and many staff, however each project only has one leader, one coordinator and one minion. I'm thinking One-to-Many, however when I relate the tables together, using the name as the relationship on each form this is where I have problems.
Is it because I am using a name, and not an ID?
Trying to get my head around how to setup my tables and relationships.
It's more complicated than any of the references and tutorials that I have read through so have no choice but to post asking for help. I did try to work it out on my own, honest!
I have several tables and queries based on tables and cannot get them to generate the results I want when querying them (just one record shows when many should be showing), so this leads me to believe there's a problem with the way I have set my relationships;
- tblStaff (Holds lists of all staff and their contact details)
- queryCoordinator (Filters list of staff from all staff list based on whether they are a projectmanager)
- queryLeader (Filters project leaders from list)
- queryMinion (Filters minions from list)
- tblProject Contains all details from project
I have the staff queries so I can choose from a list of names that are relevant to that job in a form, so we don't have to look through a huge list of staff
I then want to use a query to pull all this information together (project details and contact details of each person involved) so that I can print a single record on a report, however the query isn't working correctly and returns only one project record, not all of them.
There is only one leader, one project coordinator and one minion per project (as far as I am concerned) and I want to reflect this in the query by providing their name and contact details from the single staff list.
Would this work?
Is the relationship between the project and the individual roles Many-to-Many or One-to-Many.

I have many projects, and many staff, however each project only has one leader, one coordinator and one minion. I'm thinking One-to-Many, however when I relate the tables together, using the name as the relationship on each form this is where I have problems.
Is it because I am using a name, and not an ID?