?
Solved

Crystal 8.5,  Assign recordset

Posted on 2004-08-05
7
Medium Priority
?
331 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
6 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 101

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
Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

 
LVL 13

Author Comment

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

Thanks
0
 
LVL 101

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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month14 days, 11 hours left to enroll

839 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