473,320 Members | 2,122 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Crystal Reports and Business Logic - VS2005

AAJ
Hi all

I use a 3 tier approach for my project, and all comms to the database is
via a BLL layer. This works fine.

I have been lazy in the past, and when reporting via crystal I have created
a connection directly to the database view and recreated the parameters used
on the web pages to display identical information, but in crystal.

This has left me with two problems

1) I have to do all the reports twice. Once for the gridview via my BLL and
once passing parameters to Crystal for the same data filters/ordering etc

2) I occasionally combine data from 2 databases in to a single datatable.
This is done in my BLL using .merge and my datagrid binds to this merged
dataset ( I know I could do this in the database with Unions of the data and
pass them on to my crystal report)

But what I really want to do is to have crystal look at my BLL rather than
at the database. It should be simple, I can see my BLL in crystal using the
databse expert - .Net objects (I use the System.ComponentModel
throughout), but if I drag it in to crystal, I cant see the fields in the
returned dataset, only the method.

However, if I use ADO.Net Dataset, then I can see the fields.

In summary, I would like to point crystal to my BLL class that returns a
strongly typed dataset and be able to drag the fields on th the report in
design mode, rather then creating a connection directly to the database

can anyone give me a pointer on how to do this..
thanks in advance

Andy
Oct 26 '06 #1
3 1896
Andy,

I am interested also. I have followed your posts around the net and find no one is answering them. Let me know if you find a solution.
Nov 10 '06 #2
Those of us who have tried to get answers have given up and switched to
SQL Reporting services. It comes Free with VS and It actually works. I
was at a MS meeting and their own rep told me to Abandon all hope of
making CR work with VS 2005. I agree. It's an F'n Nightmare
Nov 11 '06 #3
AAJ
Hi Jeff

I turned out to be pretty easy

If I get chance, I'll go back through what I did and post a solution later
today.

I seem to remember manually setting up crystal to expect certain fields
,this process was divorced from any actual data, it was just setting up the
field heading etc, and then separately pushing a dataset in to the report
that matched the afore mention report structure.

Andy

<je**********@gmail.comwrote in message
news:ea**************@TK2MSFTNGP04.phx.gbl...
Andy,

I am interested also. I have followed your posts around the net and find
no one is answering them. Let me know if you find a solution.

Nov 13 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Pierre | last post by:
Hi, Can anyone tell me how I can populate Crystal Reports, using a DataTable in C#? Regards, Pierre
1
by: Brian Henry | last post by:
does anyone know if Business objects released an upgrade for crystal reports XI yet for visual studio 2005? I am having major problems with this in VS2005 because it only wants to work with reports...
3
by: lodatokab | last post by:
I'm have problem to run crystal report (VS 2005) on my computer with Windows 2000 Server. I run the solution in my dev envroiment (Windows XP) and no problems. When I try to run in on IIS 5.0 on...
3
by: Mudcat | last post by:
I am not that familiar with Crystal Reports, but having read some other posts I know that the way to integrate the API with Python is through the COM interface provide by win32all. However, I...
1
by: Wayne Deleer | last post by:
Has anyone had this happen to them? I'm writing an application in C# using VS2005. Part of my application requires that I use Crystal Reports to make some reports to print out. Anyway, here's...
0
by: MarkusJNZ | last post by:
Hi, I would like to use Crystal Reports (The verison that comes with VS2005 professional) in a commercial Windows application which I am making. Can I redistribute the Crystal Reports .dlls with...
1
by: =?Utf-8?B?VGVycnk=?= | last post by:
I am brand new to using Crystal Reports and am trying to generate a report based on a custom object - in another project. I have a layered design, with all my business objects in a seperate...
3
by: Miro | last post by:
Hi, Just wondering what a good book is on visual studios 2008 ( or 2005 if no 2008 ) that teaches you how to properly use crystal reports with it. Or im assuming that as long as I can create a...
4
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website:...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.