Solved

Crystal 8.5,  Assign recordset

Posted on 2004-08-05
7
324 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
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

821 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