Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bug Ridden Software?

Status
Not open for further replies.

NotSoCunning

Technical User
May 3, 2005
64
GB
I'm having all sorts of problems with Crystal Reports 9 currently. I write a bit of code to do something and it doesn't work, I make a fundamental change to the values and the result is exactly the same despite the fact that the variable used has changed.

I re-create the original code exactly again and it then does something different and might even work.

Is Crystal Reports 9 really flakey with it's code or is there some sort of caching going on somewhere? It's causing real problems when trying to troubleshoot and spot bugs.

Does anyone have any insights or suggestions?
 
Crysal is a very stable program. Please post specific formulas and data examples, along with current output and desired output, and we will get to the crux of your problems.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports
 
Thanks for the thought about service packs, hadn't even thought about that. It seems to have settled itself now.

It was doing stuff like instead of doing var1 + var2 = 10 where var1 = 7 and var2 = 3 it would have produced -16 or similar for no apparent reason. Simply copying the code out, deleting the original formulae and pasting it back in then produces the correct result.

Anyway, it seems to have settled.

While I've got your attention though is it possible to reference a specific record in a report from within a group. I.E.

Group1: Title, date
Group2: Record1, details, value
Group2: Record42, details, value

Group1: Title, date
Group2: Record4, details, value

Group1: Title, date
Group2: Record2, details, value
Group2: Record71, details, value

What I want to be able to do is get a Sum of the values for each group1. Crystal will not let me use Value for the default Sum functions. I've got it to report the initial Value for each Group1 but I can't seem to get to the 2nd Value. Any ideas?
 
I would assume that Value in group2 is the summary by details field

whatever field on the detail section you used to sum the value for group2 use it to sum it value by Group1

Mo
 
The above example was just an example of what I'm trying to achieve as this is fast becoming a horridly complicated financial application.

The value field is calculated from 2 other calculated fields wich are in turn calculated by other fields. I can't sum any of these values.

I was hoping to be able to get at the value directly using something like 'int = Item2.Group2.Value'
 
At New Orleans last year the Cr guy said that CR9 was not one of there better releases. Writing the DB engine seemd to introduce all sorts of strange things.

Any CR 9 user must install the latest service pack. When i alst looked it was at SP4, so it's take a few attempts to get it correct.

Editor and Publisher of Crystal Clear
 
The behavior describes is more typical of a corrupted report file. That's a rare situation (I haven't seen such a case for more than 2 years), but it can happen. It seems to be associated with things like a report having too many subreports inserted.

hth,
- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top