Hello
I have a system as follows (please excuse the poor diagram):
[tt]
Sites 1-----------m Contacts
1 1
| |
| |
m m
Jobs 1------------m JobContacts
[/tt]
Where JobContacts is a Join Table.
Now my problem is that on my Job form I want to show a grid of the Contacts that are related to this Job and all their details (phone number etc).
I know that to show child records on a form you set the grid's datasource to the form's datasource and then set the data member of the grid to the relationship name from the dataset. This keeps the grid and the form in sync when you switch between records.
My question is how do I set this up with a join table?
Thank you in advance
Nells
I have a system as follows (please excuse the poor diagram):
[tt]
Sites 1-----------m Contacts
1 1
| |
| |
m m
Jobs 1------------m JobContacts
[/tt]
Where JobContacts is a Join Table.
Now my problem is that on my Job form I want to show a grid of the Contacts that are related to this Job and all their details (phone number etc).
I know that to show child records on a form you set the grid's datasource to the form's datasource and then set the data member of the grid to the relationship name from the dataset. This keeps the grid and the form in sync when you switch between records.
My question is how do I set this up with a join table?
Thank you in advance
Nells