Randomblink
The Irreverent Reverend
- Local time
- Today, 11:39
- Joined
- Jul 23, 2001
- Messages
- 279
Ok...
I am going to give an explanation as easily as I know how hoping that someone can understand what I am asking as easily as they can explain what to do...
I have three tables.
tbl_ProjectBasics
tbl_LINK_ProjectBasics-Consultant
tbl_Consultant
tbl_ProjectBasics is linked to tbl_LINK_ProjectBasics-Consultant by a shared field [Proj_ID] they are also related in the Relationships window.
tbl_Consultant is linked to tbl_LINK_ProjectBasics-Consultant by a shared field [Cons_ID] they are also related in the Relationships window.
[Proj_ID] is an autonumbered field in the tbl_ProjectBasics and it is a Long Integer in the tbl_LINK_ProjectBasics-Consultant
[Cons_ID] is an autonumbered field in the tbl_Consultant and it is a Long Integer in the tbl_LINK_ProjectBasics-Consultant
Ok....
Now then...
One project can have several Consultants AND One Consultant can have several Consultants.
So, if I were to put a [Proj_ID] field in the tbl_Consultant then I couldn't give a Consultant more than one project. AND if I were to put a [Cons_ID] field in the tbl_ProjectBasics then I couldn't give a Project more than one consultant.
So, I create the three-table setup as recommended.
This allows me to have One Consultant with multiple listings in the tbl_LINK_ProjectBasics-Consultant and each listing can have a different Project...and vice versa...thereby allowing me to link one consultant to several projects...and...vice versa...
Ok...
So this is my set up...
I create a form for interacting with ProjectBasics
I create a subform for interacting with Consultants
What I want to do is list out all the Consultants in the subform that are connected with the Project currently loaded into the main form...
I have already set Master and Child to [Proj_ID]...
Now then...
How can I show this?
I want to be able to select Project XYZ and see that Consultant Joe, Sam, AND Mike are all part of that project...Instead I am limited to the first one that appears...If I put next record buttons on the subform it moves to the next record in the main form...so trying to view the next Consultant...pulls up the next project instead...
Argh! What can I do...?
I am going to give an explanation as easily as I know how hoping that someone can understand what I am asking as easily as they can explain what to do...
I have three tables.
tbl_ProjectBasics
tbl_LINK_ProjectBasics-Consultant
tbl_Consultant
tbl_ProjectBasics is linked to tbl_LINK_ProjectBasics-Consultant by a shared field [Proj_ID] they are also related in the Relationships window.
tbl_Consultant is linked to tbl_LINK_ProjectBasics-Consultant by a shared field [Cons_ID] they are also related in the Relationships window.
[Proj_ID] is an autonumbered field in the tbl_ProjectBasics and it is a Long Integer in the tbl_LINK_ProjectBasics-Consultant
[Cons_ID] is an autonumbered field in the tbl_Consultant and it is a Long Integer in the tbl_LINK_ProjectBasics-Consultant
Ok....
Now then...
One project can have several Consultants AND One Consultant can have several Consultants.
So, if I were to put a [Proj_ID] field in the tbl_Consultant then I couldn't give a Consultant more than one project. AND if I were to put a [Cons_ID] field in the tbl_ProjectBasics then I couldn't give a Project more than one consultant.
So, I create the three-table setup as recommended.
This allows me to have One Consultant with multiple listings in the tbl_LINK_ProjectBasics-Consultant and each listing can have a different Project...and vice versa...thereby allowing me to link one consultant to several projects...and...vice versa...
Ok...
So this is my set up...
I create a form for interacting with ProjectBasics
I create a subform for interacting with Consultants
What I want to do is list out all the Consultants in the subform that are connected with the Project currently loaded into the main form...
I have already set Master and Child to [Proj_ID]...
Now then...
How can I show this?
I want to be able to select Project XYZ and see that Consultant Joe, Sam, AND Mike are all part of that project...Instead I am limited to the first one that appears...If I put next record buttons on the subform it moves to the next record in the main form...so trying to view the next Consultant...pulls up the next project instead...
Argh! What can I do...?