G
giddy
hi,
I posted here earlier with a great reply:
http://www.microsoft.com/communitie...6d7673-0e25-417d-849b-c4b270c76044&sloc=en-us
Something like this works nicely:
List<Person> ps = new List<Person>();
ps.Add(new Person("Gideon",15));
CrystalReport11.SetDataSource(ps);
crystalReportViewer1.ReportSource = 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
I posted here earlier with a great reply:
http://www.microsoft.com/communitie...6d7673-0e25-417d-849b-c4b270c76044&sloc=en-us
Something like this works nicely:
List<Person> ps = new List<Person>();
ps.Add(new Person("Gideon",15));
CrystalReport11.SetDataSource(ps);
crystalReportViewer1.ReportSource = 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