david.paton
Registered User.
- Local time
- Yesterday, 23:05
- Joined
- Jun 26, 2013
- Messages
- 338
I have a database in which widows are looked after by legatees. There can be multiple widows assigned to a legatee but one widow may only have one legatee.
There is a widow table and a legatee table. It then has a table joining the two, that has the legatee ID, widow ID and a seperate ID field.
I have a form that shows the widow information and where you can update it or edit it. There is a combo box on that form that shows the legatee that is assigned to the widow. You can also use this drop down box to choose the legatee that is assigned to the widow, should it change. I want to be able to view the widow form, see the legatee assigned to the widow and press a button that queries the database to tell me what other widows the legatee is assigned to. I have tried to make a query that has the widow ID, legateeID and the widows name but that didn't work. I am not sure what to do.
Thanks,
Dave
There is a widow table and a legatee table. It then has a table joining the two, that has the legatee ID, widow ID and a seperate ID field.
I have a form that shows the widow information and where you can update it or edit it. There is a combo box on that form that shows the legatee that is assigned to the widow. You can also use this drop down box to choose the legatee that is assigned to the widow, should it change. I want to be able to view the widow form, see the legatee assigned to the widow and press a button that queries the database to tell me what other widows the legatee is assigned to. I have tried to make a query that has the widow ID, legateeID and the widows name but that didn't work. I am not sure what to do.
Thanks,
Dave