O
osti
Posted once before on this issue. Still having an issue
though.
I just want to link two subforms that are based on tables
that have a master detail relationship based on a common
key field. One key issue to note is that I do not want
the second (detail) subform created on the first subform.
These are two subforms on a main form. I'm doing this
because I want both the subforms to be datasheet views
where when I click on a record on the master subform, it
automatically queries the second detail subform. The
wizard does not work in this instance because the second
subform is not on the first (master) subform.
I have tried setting the Link Child Fields and Link Master
Fields properties. The result is that it displays the
master data sheet with all the records, but seems to link
the detail just to the 1st record of the master. If I
click on other rows of the master, the detail subform does
not update with the related records.
When this didn't work, I attempted to apply a criteria
value to the key field of the query that I had associated
with subform2. The criteria referenced the form field on
subform1 (master) that I wanted to limit the detail based
on. When I run the main form, I just get records for the
master datasheet and no records at all for the detail.
Anyway, I know this should be easy to resolve... I must
just be missing something basic.
Thanks,
Dave
though.
I just want to link two subforms that are based on tables
that have a master detail relationship based on a common
key field. One key issue to note is that I do not want
the second (detail) subform created on the first subform.
These are two subforms on a main form. I'm doing this
because I want both the subforms to be datasheet views
where when I click on a record on the master subform, it
automatically queries the second detail subform. The
wizard does not work in this instance because the second
subform is not on the first (master) subform.
I have tried setting the Link Child Fields and Link Master
Fields properties. The result is that it displays the
master data sheet with all the records, but seems to link
the detail just to the 1st record of the master. If I
click on other rows of the master, the detail subform does
not update with the related records.
When this didn't work, I attempted to apply a criteria
value to the key field of the query that I had associated
with subform2. The criteria referenced the form field on
subform1 (master) that I wanted to limit the detail based
on. When I run the main form, I just get records for the
master datasheet and no records at all for the detail.
Anyway, I know this should be easy to resolve... I must
just be missing something basic.
Thanks,
Dave