What am I missing?
Michael
Active Reports Pro ver 3
Crystal Reports 11.5 and 2008
Thank Trent.
Tried it again. In the Strafix application I am able to create custom BBS and drag and drop in the MS report rdlc file. Mine, yours no problem. However, I cannot do the same in Active or Crystal reports?
Is this what we are suppose to be able to do?
THanks
By default, BBS and BO created by the SF Custom Business Binding Source will not be shown in the ToolBox, since you may need a lot of those per reports, so what you can do is add the <ToolboxItem(True)> attribute to the BBS so they will be able to be drag and dropped in the form to design your report and then remove it when the report is done, to keep the VS IDE running smoothly.
Here some code in VB for one of my BBS
Imports System.ComponentModelNamespace Reports.CustomerProfile <ToolboxItem(True)> _ Public Class BuildingsBBS Inherits MicroFour.StrataFrame.Business.BusinessBindingSource(Of FixTrack.Business.bizBuildings) End ClassEnd Namespace
Imports
Namespace
<ToolboxItem(
End
1) Select the reporting project
2) Select "Add new data source..." from the Data menu.
3) Select "Object" from the "Where will the application get data from?" selection.
4) Select your custom BBS from the "Select the Object You Wish to Bind to" selection. Make sure and choose your reporting BBS rather than your base BBS.
5) Select Finish
That will make it accessible as a data source at design time. It's not technically required to get everything plumbed, but if you are wanting to see them visually at design time, that should do it for you.