G
Guest
In a form I have a tab control with a subform on it. The subform's linking
child & master fields are set to EquipID and works as advertised. I want to
change the source object of the subform in response to an event of a control
on the form. I do not want the new source object to be linked so I am trying
to clear the linking child and master fields with the following code but it
tells me that the setting I've entered isn't a valid property.
Me.sfHolder.LinkChildFields = ""
Me.sfHolder.LinkMasterFields = ""
And if I don't try to clear these fields I get as Enter Parameter Value
window asking me for the value for tblLine.EquipID (tblLine is the record
source for the new subform source object).
What am I doing wrong?
child & master fields are set to EquipID and works as advertised. I want to
change the source object of the subform in response to an event of a control
on the form. I do not want the new source object to be linked so I am trying
to clear the linking child and master fields with the following code but it
tells me that the setting I've entered isn't a valid property.
Me.sfHolder.LinkChildFields = ""
Me.sfHolder.LinkMasterFields = ""
And if I don't try to clear these fields I get as Enter Parameter Value
window asking me for the value for tblLine.EquipID (tblLine is the record
source for the new subform source object).
What am I doing wrong?