If Me.ParentBusinessObject.InstrumentName = "Atlas" Then ' <- Compile time error due to ParentBusinessObject doesn't exist at design time If Not CheckOnePortActive(Me.CurrentRowIndex) then Me.AddBrokenRule(PortSetupBoFieldNames.Activate,"Only one port can be active for this instrument.") End IfEnd If
I think that would be simply:
me.ParentBusinessObject....
Cheers, Peter
May I know the property name?
Thank you
How could I access childbusinessobject from parentbusinessobject? I checked SF source code and found that is a private variable _ChildBusinessObjects. However it is not exposed. Any other way to access it?