Solved

Changing values on a report using RDC

Posted on 2002-07-22
5
294 Views
Last Modified: 2012-06-27
Hi! It's me again,

I have a report created using Data Definition Files, I'm populating it using disconnected record sets in the RDC.
Everything works fine, but I want to change certain values in database fields on the report (e.g. Dividing a currency by 1000).  Is there a way of doing this?

I'm using Crystal 8.5 and VB6.

Cheers,
Doc.
0
Comment
Question by:scrumper64
5 Comments
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 7170911
Use a formula field in Crystal.  For example, if you have a field named {table1.field1} and you want to divide the value stored here by 100 before displaying it on the report, create a new formula field named newField1

The formula you would type in the formula editor is:

{table1.field1} / 100

Place the formula field in your report, not the original data field.

DRRYAN3
0
 

Author Comment

by:scrumper64
ID: 7171203
Hi Drryan,
I thought of that, but I wanted a way which meant I didn't have to change all of my reports.
I think I'll be able to do it by modifing the recordset before I do Database.SetDataSource on my report.
Cheers,
Doc.
0
 
LVL 7

Expert Comment

by:mnye
ID: 9004535
This question has been classified abandoned. I will make a recommendation to the moderators on its resolution in a week or two. I appreciate any comments that would help me to make a recommendation.

Unless it is clear to me that the question has been answered I will recommend delete. It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.


If the user does not know how to close the question, the options are here:
http://www.experts-exchange.com/help/closing.jsp

mnye
EE Cleanup Volunteer
0
 
LVL 7

Expert Comment

by:mnye
ID: 9218507
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ\Refund

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
mnye
EE Cleanup Volunteer
0
 
LVL 2

Accepted Solution

by:
Lunchy earned 0 total points
ID: 9270632
PAQed per request/recommendation & Points refunded

Lunchy
Friendly Neighbourhood Community Support Moderator
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

809 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