subform relationship (1 Viewer)

david.paton

Registered User.
Local time
Yesterday, 21:59
Joined
Jun 26, 2013
Messages
338
I can't remember how to do this. I know it is simple but I just can't remember. I have a form, frmCarers and I want something at the bottom that shows a list of the children currently in their care. I know how to get all the children on there but I just can't remember how to make it so only the children the carer is looking after appear.

I have a few attempts on my form but neither of them work.
 

Attachments

  • Carers.v19.accdb.zip
    303.8 KB · Views: 32

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 12:59
Joined
May 7, 2009
Messages
19,247
You add the CarersId to your main form.
Set its visible property to no so it is hidden.
On the subform if child, set the master/chield link field to CarersId both.
 

Attachments

  • Carers.v17.accdb.zip
    187.5 KB · Views: 24

david.paton

Registered User.
Local time
Yesterday, 21:59
Joined
Jun 26, 2013
Messages
338
Thank you, that is perfect!!

YAY! Now my db is complete :D
 

Users who are viewing this thread

Top Bottom