?
Solved

Bind ADO recordset to Crystal report

Posted on 2004-04-09
6
Medium Priority
?
1,834 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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 1500 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

801 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