Solved

Bind ADO recordset to Crystal report

Posted on 2004-04-09
6
1,833 Views
Last Modified: 2007-12-19
Hey Guys,

How can I bind a ADO recordset generated from a stored procedure in Oracle directly to a Crystal reports file (.rpt).  so that the fields that are in the Ado recordset are thrown in the Crystal reports file and when I open that report I can move those fields around, that is design it the report manually.

And I only have Crystal reports Active X Viewer on my machine.


thanks
0
Comment
Question by:jupiterz
[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
  • 2
6 Comments
 
LVL 2

Expert Comment

by:Ivan_Skrinjaric
ID: 10794243
If you won't to create reports from code which are not based on existing template you need to have Crystal Advanced Edition with Report Creatian API enable.
0
 

Author Comment

by:jupiterz
ID: 10794328
Thanks Ivan.That i am aware of.
Because my company won't buy the advanced editon I somehow want to do it with what I have.
I have the CR 9 Active X Designer Run time library, crytal reports viewer control, crystal query engine 1.0.
Can these libraries help in anyway.

is there any other way of doing this kind of thing with the available libraries.
I have a Blob field in my ado recordset that also needs to be taken into account.

Thanks
0
 
LVL 2

Expert Comment

by:Ivan_Skrinjaric
ID: 10796154
The problem is in this:

If you don't have Advanced edition you can only open report from file:
Dim crApp as CRAXDRT.Application
Dim crReport as CRAXDRT.Report

Set crReport=crApp.OpenReport("report.rpt")

With advanced edition you can create report 'from nothing' like this:
Set crReport=crApp.NewReport

And than you can add databaselinks, formulafields, databasefields, crosstab, ... and position them.

0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 10803062
Unless something has changed with CR9 you should be able to use the DEVELOPER edition and get what you want.  

You need the CRAXDDRT library to build reports on the fly.  This will cost you $199 per user for their runtime license.

mlmcc
0
 

Author Comment

by:jupiterz
ID: 10806996
Yes that is right. I think I am in need of Developer Editon that will give me access to the Crystal reports designer component in VB6.

Question is I am not creating new reports I just want to bind my ado recordset to the existing reports. (reports that I have already created using text file as a source, I just want to know how to bind a ado recordset instead of text file and still get away with runtime licenses etc,  at no extra cost)
Users are just going to view these reports and have the ability to save them on their harddrive.
Neither me nor users will be creating new reports at all.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 10809605
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

696 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