Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MM DataSets into Crystal Reports
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00925300
Message ID:
00928015
Vues:
26
Tony,

I struggled with this until I got the book "Crystal Reports .NET Programming" by Brian Bischof. You can get more information at http://www.crystalreportsbook.com/ and the book can also be found on Amazon.

In this book, he lays out the steps:

Report Creation
1. Define the dataset schema file
2. Build the report using the dataset schema file as the data source

Running the Report
3. Populate the dataset
4. Bind the dataset to the report

He gives some very good sample code and explains each of the steps in detail. It took me a day or so to work through it, but this solves the problem of working with datasets.

Kind Regards,

Mat

>I am not a heavy Crystal Reports user (Me FoxPro), but it looks like there might be another hoop or hook we have to go through to get Crystal Reports to see a MM DataSet.
>
>If I create a ds like this:
> Dim ds As New DataSet
> 'Get all users sorted by group
> ds = Me.oUsersDetail.GetUsersByGroup
>
>and then try to use it like this:
> 'Pass the populated dataset to the report
> oRpt.SetDataSource(ds)
>
>it doesn't seem to like it. If I clone the dataset into a table it seems to like it.
>
>Any ideas about this?
>
>Thanks.
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform