I dont know if what I would like to do is possible but&..
I would like to base a Crystal Report on a function in my Business Logic Layer. The Then function accepts some parameters, does a little business logic and then returns a Data Table. I am using the Crystal Reports that are built into Visual Studio 2005.
Here are the Steps Im doing
1. Add New Item(Crystal report)
2. Chose Data Source: Im picking .NET Objects
3. I see a list of every bll that I have, but no functions within
Below is and example of some code from my bll
Public Function GetFeeData(ByVal GroupID As Integer) As DAC.tblFeeMasterDataTable
Dim dt as DAC.tblFeeMasterDataTable
dt = FeeAdapter.GetFeeByGroupID (GroupID)
dt.Fee3 = dt.Fee1 + dt.Fee2
So& can I base a crystal report on the data table this function returns? Thanks for your help, John