hi,
I posted here earlier with a great reply: http://www.microsoft.com/communities...044&sloc=en-us
Something like this works nicely:
List<Personps = new List<Person>();
ps.Add(new Person("Gideon" ,15));
CrystalReport11 .SetDataSource( ps);
crystalReportVi ewer1.ReportSou rce = CrystalReport11 ;
After adding this class to the database expert I can link Persons properties
to the report.
Now what if I have
class AccountLine{
Description
Amount
Date
}
I make a crsytal report the same way as I did above it works fine, I can
make a report with list of payments .
NOW, I need to add a total on the *bottom* of the whole list, so if the list
of payments if four pages long, the total should be at the end of the fourth
page, so I made:
class Total{
Amount
}
But if I add it to the database expert it doesn't work at all, even the
AccountLine data doesn't show up.
Is there no decent way of making fields in the report and specifying the
data that goes in there.
I hope my quesition is clear.
Thanks so much
Gideon 4 3028
Unforunately, one work around I've seen is
Create a strong dataset.
Loop over your custom business objects / collection and populate rows in the
strong dataset.
Add your aggregate data to a different table in the strong dataset.
Use that as the CR datasource.
(Oh yeah, create your report against the XSD of the strong dataset)
Yeah, that sucks.
ActiveReports has a much better implementation. ....it allows binding to
IList(s).
"giddy" <gi***@discussi ons.microsoft.c omwrote in message
news:0A******** *************** ***********@mic rosoft.com...
hi,
I posted here earlier with a great reply: http://www.microsoft.com/communities...044&sloc=en-us
Something like this works nicely:
List<Personps = new List<Person>();
ps.Add(new Person("Gideon" ,15));
CrystalReport11 .SetDataSource( ps);
crystalReportVi ewer1.ReportSou rce = CrystalReport11 ;
After adding this class to the database expert I can link Persons
properties
to the report.
Now what if I have
class AccountLine{
Description
Amount
Date
}
I make a crsytal report the same way as I did above it works fine, I can
make a report with list of payments .
NOW, I need to add a total on the *bottom* of the whole list, so if the
list
of payments if four pages long, the total should be at the end of the
fourth
page, so I made:
class Total{
Amount
}
But if I add it to the database expert it doesn't work at all, even the
AccountLine data doesn't show up.
Is there no decent way of making fields in the report and specifying the
data that goes in there.
I hope my quesition is clear.
Thanks so much
Gideon
"sloan" wrote:
>
Unforunately, one work around I've seen is
Create a strong dataset.
Loop over your custom business objects / collection and populate rows in the
strong dataset.
Add your aggregate data to a different table in the strong dataset.
Use that as the CR datasource.
(Oh yeah, create your report against the XSD of the strong dataset)
Yeah, that sucks.
Thanks!
ActiveReports has a much better implementation. ....it allows binding to
IList(s).
(Was more happy about this answer)
Active reports huh? Think its better when it comes to feeding business
objects? I mean, can I just reference business objects or better yet create
place holders and fill them up on my own?
The product does look good, but does it have some muck ups like CR?
(Should have posted a thread here asking for CR alternatives)
Thanks so much
Gideon
I can only add this:
I hate Crystal Reports.
I like Active Reports.
//Think its better when it comes to feeding business
objects?
Yes. It was better 4 years ago, and has only gotten better.
The dll deployment is pretty easy.
The last version I used, you had to do a
ActiveReport.Se tLicenseKey "ABC123ABC123AB C123ABC123ABC12 3ABC123" ; << Where
this was a key given to you(your company).
That was the only snapfu with them at all.
Crystal Reports would be alot better if you could turn OFF the "Pull" model.
Too much hacking with that model.
The PUSH model is better with CR, and I can live with it when I have to.
But ActiveReports are much better.
"giddy" <gi***@discussi ons.microsoft.c omwrote in message
news:B9******** *************** ***********@mic rosoft.com...
>
"sloan" wrote:
>> Unforunately , one work around I've seen is
Create a strong dataset. Loop over your custom business objects / collection and populate rows in the strong dataset. Add your aggregate data to a different table in the strong dataset. Use that as the CR datasource. (Oh yeah, create your report against the XSD of the strong dataset)
Yeah, that sucks.
Thanks!
>ActiveReport s has a much better implementation. ....it allows binding to IList(s).
(Was more happy about this answer)
Active reports huh? Think its better when it comes to feeding business
objects? I mean, can I just reference business objects or better yet
create
place holders and fill them up on my own?
The product does look good, but does it have some muck ups like CR?
(Should have posted a thread here asking for CR alternatives)
Thanks so much
Gideon
I can only add this:
I hate Crystal Reports.
I like Active Reports.
I would have to agree, active report has a MUCH better model. Although, I
didn't find any docs on their model and its sad they didn't just add XML
comments, would be easier to figure things out. Also, v3.0, it seems has no
external files, the whole report is a class.
But! Alas! I can't possibly afford it! The App I'm building costs a fraction
of Active reports price tag!
I guess I'll have to stick to CR! Your dataset solution worked nicely.
Sadly, CR doesn't even have a way a printing a table(grid with borders).
Thanks so much
Gideon
Yes. It was better 4 years ago, and has only gotten better.
The dll deployment is pretty easy.
The last version I used, you had to do a
ActiveReport.Se tLicenseKey "ABC123ABC123AB C123ABC123ABC12 3ABC123" ; << Where
this was a key given to you(your company).
That was the only snapfu with them at all.
Crystal Reports would be alot better if you could turn OFF the "Pull" model.
Too much hacking with that model.
The PUSH model is better with CR, and I can live with it when I have to.
But ActiveReports are much better. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Charlie |
last post by:
Hi,
We have a set of .NET objects handling the business layer of our
application. Is it possible to bind the objects directly to a Crystal
report so we can see the properties at design time in the report
designer?
Thanks in advance.
|
by: Robert Warnestam |
last post by:
Hello,
I have some problems deploying Crystal Reports.
I'm using Visual Studio 2005 Beta 1. In this version Crystal Reports
(9.7.3500.0) is included. I created a small test application (ASP.NET) that
shows a simple report. It work fine with on my local computer. Now I'm
trying to deploy this sample application on our web server but I really need
some help.
|
by: Jay |
last post by:
I am getting mixed messages from the asp.net website hosting providers - some
say they do not support Crystal Reports due to a $25,000 per cpu licensing
fee, others say all I need to do is install Crystal Reports XI (about $500)
on a dedicated server and it will run fine.
Will Reports developed with the embeded Crystal Reports in VS 2005 run in a
Crystal Reports XI environment?
--
Thanks
|
by: satyamedicherla |
last post by:
Hi All,
We have more than 50 Crystal Reports (Implemented) in our project.
Please let us know how to implement Cascading Style Sheet to Text Objects and Line Objects in Crystal Reports and also it needs to be reflect in PDF while exporting.
We got output through .Net Code Behind file by implementing System.Drawings.Color to Report Objects. But Client is not willing for System.Drawings.Color and also Change in existing Code Behind...
|
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 have been unable to find any other information on how to get
started. I've used the COM interface before in integrating Excel and a
couple of other things. So I am familiar with how that works. But there
are at least 40 options dealing with Crystal...
| |
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 project. I created a new project as
part of the solution, added a reference to the project containing my business
objects, created a datasource that points to one of the objects and then
tried to create CR based on the object. The data tab (in the CR...
|
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 dataset and link it to a
reportviewer than any Crystal Report book will do.
I use vb.net but im assuming most books would show you vb and c
|
by: Miro |
last post by:
I can run an exe ( and its install ) i have created on my machine.
The exe has a button that populates a dataset and then shoots it to a
crystal report.
But...
Installing the setup.exe on my other pc, and running it I get an error.
The Dataset loads properly, but when the button is pushed to view the report
I get this error:
************** Exception Text **************
|
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:
https://www.sdn.sap.com/irj/sdn/businessobjects-downloads
..NET Utility CR 2008 Merge Modules for the .NET Framework ZIP 74.716 Windows
English 12.03.2008
and it states:
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |