Unable to get Parent Child Relationship to work.


Author
Message
Michael Reese
Michael Reese
Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)
Group: StrataFrame Users
Posts: 235, Visits: 1.6K
I cannot seem to get the relationship to work properly on add. When I add a record, the record does not receive the parent key value from the parent bo? 

I think that I have covered everything

I have two tables

Parent Table

Child Table

I established the relationship in the DDT

Established to parentrelationship on the BO

Established the parent BO in the BO on the form.

Configured Childform.

Replies
Michael Reese
Michael Reese
Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)
Group: StrataFrame Users
Posts: 235, Visits: 1.6K
Yes,

Now, is the relationship code executing based off of the parentbo editing state? I have a listview on the parent form which is the child of a parent form.   

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Did you include the instance of the child BO that is dropped on the form in the Form's add? I.e. set the appropriate IncludeInForm(Add/Delete/Edit/Save/Undo/Navigate) properties?
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Yeah, you are missing something really basic as this is not a complicated implementation....instead of going through a hundred forum posts out here, do one of two things, or both.

  1. Open one of the SF samples that shows how to use a relationship (CRM sample application, ChildFormDialog sample, etc).
  2. Post a quick sample of your basic implementation on this thread and I will correct your problem (within the basic sample...not your application code) so you can see what you are missing....this is faster than going back and forth.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search