
DataView as report source
Glenn,
You are right. CR works with datasets, but not dataview. I discovered this
while working on my book and discussed it with tech support. They worked on
it and decided that there must be a casting error in their code and they
created a KB issue for it. Hopefully it will be fixed in a future service
pack.
Brian Bischof
A Crystal Reports.NET book for programmers? Its free!
* Covers ASP.NET and Windows Forms
* Teaches all phases of report development
* Alerts you to the bugs and how to get around them
* Maps out the complex ReportDocument object model
* Shows how to perform runtime customization
* Demonstrates all options of connecting with ADO.NET
* Gives complete code listings for every concept presented
www.CrystalReportsBook.com?cpgn=ngcr_030903
Quote:
> Has anyone had any luck passing a filtered DataView as a report source. CR
> seems to always take the underlying DataSet and report all of the rows
> instead of the rows filtered by the DataView. Am I missing something or
> does CR just not understand what a DataView is?
> (I'm using the CR.NET version.)
> -glenn-