S
scolino
I use the following code from a subform to change the recordsource of the
parent form:
Me.Parent.RecordSource = "BuckControlSwitch"
Me.Parent.Title.Caption = "Buck Control Switch"
It works on Access 2003, but on Access 2007, I get the following error:
The expression you entered refers to an object that is closed or doesn't
exist.
It also works when compiled to mde on 2003 and run on 2007.
Is this a bug in Access 2007? Is there any way to use the parent reference
after the parent's recordsource has been programatically changed?
parent form:
Me.Parent.RecordSource = "BuckControlSwitch"
Me.Parent.Title.Caption = "Buck Control Switch"
It works on Access 2003, but on Access 2007, I get the following error:
The expression you entered refers to an object that is closed or doesn't
exist.
It also works when compiled to mde on 2003 and run on 2007.
Is this a bug in Access 2007? Is there any way to use the parent reference
after the parent's recordsource has been programatically changed?