Solved

Crystal 8.5,  Assign recordset

Posted on 2004-08-05
7
327 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
[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
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
Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

 
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

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…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

730 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