J
John Smith
Hi all,
I'm in the process of testing Acc2003 with my older Acc2K files, and I have
one fairly bizarre problem:
I've got an unbound form with two subforms placed on it. The top subform is
bound to one table and the bottom subform is bound to a related (1-to-many)
child table. I want the bottom subform to update to show all child records
related to the selected record in the top subform - as you pick something
new on top, the lower subform updates to show the related child records.
This works fine in 2000, with the lower subform's Linked Child Fields set to
the foreign key in the child table and Link Master Fields set to the primary
key in the upper subform. In the OnCurrent event of the upper subform, I
requery the lower subform's RecordSource.
Access 2003 ignores the requery completely. When I debugged, as I'm looking
at the subform object, it HAS a form property, but it's not attached to
anything so I can't update the lower subform's RecordSource. Anyone else
seen this kind of thing? I'm not seeing anything in the KB or on these
forums even remotely related.
Thanks in advance.
I'm in the process of testing Acc2003 with my older Acc2K files, and I have
one fairly bizarre problem:
I've got an unbound form with two subforms placed on it. The top subform is
bound to one table and the bottom subform is bound to a related (1-to-many)
child table. I want the bottom subform to update to show all child records
related to the selected record in the top subform - as you pick something
new on top, the lower subform updates to show the related child records.
This works fine in 2000, with the lower subform's Linked Child Fields set to
the foreign key in the child table and Link Master Fields set to the primary
key in the upper subform. In the OnCurrent event of the upper subform, I
requery the lower subform's RecordSource.
Access 2003 ignores the requery completely. When I debugged, as I'm looking
at the subform object, it HAS a form property, but it's not attached to
anything so I can't update the lower subform's RecordSource. Anyone else
seen this kind of thing? I'm not seeing anything in the KB or on these
forums even remotely related.
Thanks in advance.