DataView as report source 
Author Message
 DataView as report source

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-



Thu, 25 Aug 2005 22:11:16 GMT  
 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-



Fri, 26 Aug 2005 02:38:39 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to restore the dataview after the rows in dataview are to be filtered

2. How filter report with dataview?

3. Crystal Report, Invalid report source

4. Invalid Report Source Error in Crystal Report Viewer

5. sub report changes its source stored procedure to main report's stored procedure

6. Need a Plan to choose table for report record source

7. Remotely Modify Record Source in a report

8. Printing a report using multiple sources

9. Setting reports graph source in code

10. Report paper source

11. Changing report source dynamically

12. A2K adp project report data source

 

 
Powered by phpBB® Forum Software