Group: Awaiting Activation
Posts: 172,
Visits: 12K
|
OK Edhy:
I've wasted a ton of time trying to figure this DevExpress XtraReport (13.2) / SF Custom Business Binding Source integration problem and am stumped.
Here is the skinny on this particular simple situation I have:
I have a report that displays a list of all Defined Holidays in the system ... however, the report header has to be dynamic in that this application will be sold to any number of companies that have different names and the Company Name at the top of the report has to be pulled from a CompanyConfig table. So, I created two custom BBSs, one for the CompanyConfig and one for the Holiday business object. I then followed the StrataFlix example of adding the CompanyConfigBO to the Holiday BO (all created by the Custom BBS wizard). Then, I created the HolidayListingDataSource as specified in StrataFlix ... created the methods to populate the associated business objects and then dropped the HolidayBBS onto the DevExpress XtraReport. When I attempt to databind the labels the only table that shows up is the HolidayBO ... the CompanyConfigBO is nowhere to be found.
I was able to get around this by dropping both the xrCompanyConfigBBS and the xrHolidayBBS onto the report.
I was under the impression that one BBS could be created that contained both the required tables. I'm going to need a working example in order to figure this out because I'm obviously too dense to do it on my own.
I've reviewed you example on another post ... but it always comes back to the StrataFlix example that ends with each datasouce being added to the rdlc.DataSources.Add() ... DevExpress XtraReport does not have an equivalent method of adding DataSources. I've been chasing my tail for too long and don't know which way is up anymore.
Can you clarify?
Happy Valentine's Day.
Charles T. Blankenship Senior Consultant Novant Consulting, Inc. 704.975.7152 http://www.novantconsulting.com
|