Solved

Bind ADO recordset to Crystal report

Posted on 2004-04-09
6
1,822 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
  • 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 100

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 100

Expert Comment

by:mlmcc
ID: 10809605
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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. …
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now