Solved

Crystal 8.5,  Assign recordset

Posted on 2004-08-05
7
323 Views
Last Modified: 2011-10-03
Hi

I have created a recordset(R1) and add 3 fields to it using the fields collection and appending these fields to it.
1. Manager Name
2. Sales Region
3. Sales Growth

I open a second recordset(R2) and fetch data for the Manager Name and Sales Region from the database. I loop through this recordset(R2) and assign values to fields 1 & 2 fields of my first recordset(R1). The 3rd field is assigned a value based on a complex calculation. There is no way to get the 3rd field as a part of the query using SQL, since it involves a lot of complexity.

Now I want to show my first recordset(R1) as a report using crystal reports 8.5. Can anyone tell me how to assign a recordset to crystal reports at runtime? I will be using the rpt file and I will not be creating the report on the fly.

I do not know how to place a field in the rpt file that does not exist till runtime.

Any URLs in this direction might also help

Thank you
0
Comment
Question by:VICKRAM
7 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 11734452
You didn't indicate the development language you're using - I'll assume vb since it seems to be the most common.  You can give this link a try: http://support.businessobjects.com/communityCS/FilesAndUpdates/cr8_vb_rdc_getnextrows.exe.asp

0
 
LVL 100

Expert Comment

by:mlmcc
ID: 11734743
0
 
LVL 13

Author Comment

by:VICKRAM
ID: 11749828
Sorry those didnt help.. I just figured out that you can have a field definition file (.ttx) and then assign a recordset to it at runtime..

anyway thanks for your help
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 13

Author Comment

by:VICKRAM
ID: 11760677
I think I can have my points credited to me

Thanks
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 11769092
Actually you can't get them credited to you but you can get them refunded.  Submit a request in the Community Support forum asking they refund the points and PAQ this question.

mlmcc
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 11811795
Closed, 50 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Moderator
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 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

19 Experts available now in Live!

Get 1:1 Help Now