ListView Problem


Author
Message
Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
I created a SF Maintenance form in VB. Added a BO and a List View and set up a SQL statement to receive data from a table. The list view populates but the maintenance tool bar does not become available. In other words all the buttons are not available. What should I do. I am brand new to SF so I am not sure how to approach finding a solution. TIA.
Reply
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yep, the ListView is generally on for displaying data while the Grid is used for editing data. 

In order to use a ChildBO on the form, you're most likely going to want to place the child BO on the form and fill it with all fo the records that belong to the parent business object (child.FillByParent() should help with that...).  Then, on the parent business object, set the ChildAutoFilterOption property to MatchCurrentRow... this will change the filter on the child business object to only show the records that match the selected record in the parent.  Then, just make sure that the parent business object is navigated to the correct row (the CurrencyManager within the BusinessBindingSource should take care of that, but some grids don't use the CurrencyManager the same way the basic .NET grid does) and the child business object will be filtered to show the child records.

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