Hi Arvin -
This is Steven from Microsoft Access Technical Support replying to your
newsgroup post.
For a subform to reference a key field on another subform, you will have to
set these properties as follows:
LinkChildFields: CategoryID
LinkMasterFields: Forms!frmMain!Sub1.Form!CategoryID
In other words, the key field between the second subform and the first
subform is called CategoryID. So I set LinkChildFields property equal to
the CategoryID field on the second subform. Then to get to the same key
field on the first subform, you have to "drill" you way down, starting from
the main form layer. So frmMain is the name of my main form. Sub1 is the
value assigned to the Name property of the first subform object on the main
form.
Please let me know if this solves your problem or if you would like further
assistance. I look forward to hearing from you.
Sincerely,
Steven Parsons [MSFT]
Microsoft Access Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! (
http://www.microsoft.com/security)