D
derek
In an A2007 SP1 app with a simple unbound form containing 1 bound subform,
the subform frequently appears BLANK the first time you try to load the
parent. When I say BLANK I don't mean an empty datasheet grid, I mean a
plain white rectasngle. Dropping into debug mode at this point and
attempting to discover the properties of the subform always produces the
error message "Object is closed or does not exist."
It seems like Access just isn't placing the subform into the parent. (there
is data in the recordset).
However, if I then close the parent and re-open it immediately, everything
usually OK. The subform appears.
I have tried numreous "tricks" like reassigning the .sourceobject of the
subform after a half second delay, and these seem to work -- but they only
work in a development environment. In the field,using an mde, with design
permissions locked out, it is not possible to modify the .sourceobject of a
subform with code.
Is there some known issue here I'm not aware of?
Derek.
the subform frequently appears BLANK the first time you try to load the
parent. When I say BLANK I don't mean an empty datasheet grid, I mean a
plain white rectasngle. Dropping into debug mode at this point and
attempting to discover the properties of the subform always produces the
error message "Object is closed or does not exist."
It seems like Access just isn't placing the subform into the parent. (there
is data in the recordset).
However, if I then close the parent and re-open it immediately, everything
usually OK. The subform appears.
I have tried numreous "tricks" like reassigning the .sourceobject of the
subform after a half second delay, and these seem to work -- but they only
work in a development environment. In the field,using an mde, with design
permissions locked out, it is not possible to modify the .sourceobject of a
subform with code.
Is there some known issue here I'm not aware of?
Derek.