Problem Setting ParentRelationships


Author
Message
choyt
choyt
StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)
Group: Forum Members
Posts: 78, Visits: 246
Hi Folks

I have 2 tables (a parent and it's details tables). When I am in the BO for the details table, the ParentRelationship is set to (Not Defined) and the ParentObject is set to (None).

When I try to select the ParentRelationship, the "Child-Parent Relationship Editor" is displayed; however, the drop list is both empty and locked. When I click OK, nothing happens and when I click either "Add new Field Pair" or "Cancel" the dialog simply closes.

If I am doing something wrong, please let me know. If not, and if this is a bug, can you forward me the syntax to do this manually?

Thanks!

Clay

Replies
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
This error indicates that you can't set the ParentBusinessObject when you are dealing with the definition of the business object itself. I.e. if you have a business object named CustomersBO, and you double click it in VS solution explorer, the designer opens, were you can hit F4 and view the properties. You can't set the ParentBusinessObject here.



The ParentBusinessObject must be an instance of the parent business object set in the ParentRelationship. So you set this when you create an instance of the parent business object. E.g. you have a form that you drop both the parent and this BO on, then you can set the ParentBusinessObject.



Hope that helps!
choyt
choyt
StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)StrataFrame User (132 reputation)
Group: Forum Members
Posts: 78, Visits: 246
Thanks Greg...yep..that answers it.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Glad that helped!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
choyt - 18 Years Ago
choyt - 18 Years Ago
             Hi Folks I manually entered this......
choyt - 18 Years Ago
choyt - 18 Years Ago
Greg McGuffey - 18 Years Ago
                         Thanks Greg...yep..that answers it.
choyt - 18 Years Ago
                             Glad that helped!
Greg McGuffey - 18 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search