Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Can Crystal Reports .NET use an ADO recordset?

Posted on 2004-10-30
4
Medium Priority
?
302 Views
Last Modified: 2010-04-23

In the VB6 Development environment you could feel an ADO 2.6 recordset into a crystal report like so:

'---set the data source to an ADO recordset
Dim crMyReport as New rptMembershipRoster
crMyReport.Database.Tables(1).SetDataSource rsReportData, 3
'---show the report in a Report viewer
CRViewer1.ReportSource = crMyReport
CRViewer1.ViewReport


Can you do this in the .NET Crystal Reports Designer? If so, what is the syntax?
0
Comment
Question by:brokeMyLegBiking
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12457181
You need to switch to a dataset:

Me.ReportToPrint.SetDataSource(Me.mdtsDataSet)
CrViewer.ReportSource = Me.ReportToPrint
0
 
LVL 4

Author Comment

by:brokeMyLegBiking
ID: 12458372
Is there a fast way to feel an ADO recordset into a Dataset?

0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 12460120
0
 
LVL 4

Author Comment

by:brokeMyLegBiking
ID: 12467831
excellent!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question