I had quite a bit of trouble using the BBS and ended up making my own class for that.
Basically what happens with a BBS is for every row in the business object that you are binding to, a new instance of the business object is created and represent that row and its datatable is shared with the first main bo.
The problem is that if you have any properties , events etc set on the main bo the lose they're values in the newly created instance. hope that makes sense
However I would think because the datatable is shared you should be able to make it work somehow.
Are these properties supposed to be bindable?
Thanks
TIm
<Browsable(
Since the BO uses the AllFieldsNames property when saving or updating the object, the added fields are simply ignored.
-Larry
Tim
Please take a look at the following topic in the SF help file "Custom Field Properties, Adding Custom Field Properties" it will show you how to do what you are looking for.
Good luck!
I tried creating a custom field in the business object and a Private variable to store and retrieve the value but it appears to only keep the last value.
I'm open to suggestions if this isn't the correct approach. Basically I want to end up with a place to store / retrieve information in the business object for each row without having to create an extra field in the table.