Tutorial 14 (Configuring a Business Object relationship)


Author
Message
StarkMike
StarkMike
Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)
Group: Forum Members
Posts: 436, Visits: 944
I just finished tutorial 14, Configuring a Business Object relationship, and when i got to the end it said "Designing a child form that will show use of a business object relationship is beyond the scope of this tutorial". Well I've looked through the help file and the forums and can't find a parent-child tutorial.



So my question is how do i create a form with two grids on it to demonstrate how this business object relationship works.
Replies
StarkMike
StarkMike
Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)
Group: Forum Members
Posts: 436, Visits: 944


I've created the business object, added a Standard SF form and dropped a DataGridView onto it. I've set the datasource on the grid to the business object. Couple of questions though... why am i gettng all these weird column names in my grid? (See attached screen shot).



Also when I run the form it only displays one record not all of them... and the SQL statement in the BO is SELECT * FROM Authors.



Thanks
Attachments
Grid.jpg (227 views, 57.00 KB)
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
Mike,

To show all rows in the BO, set the IsListSource property on the business object to True.  To remove the other fields, you can edit the columns and remove them.  As to why they show has to do with use using properties as strong-tped fields.  I will look into and see if there is a way for use to dynaimcally remove the others, but at least there is a work around for now Smile

Hope this helps.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
Trent L. Taylor - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search