Link to home
Start Free TrialLog in
Avatar of RUA Volunteer2?
RUA Volunteer2?Flag for United States of America

asked on

Crystal Reports formula function. Displaying values from Detail section in Page Header. Is Shared variable preferred vs some other formula?

What would be the best way to display a value while suppressing it in another section where it would normally show in Crystal Reports.

This image shows a column called contract amount. Currently showing a field called Approved Amount. $44,755. The value at the top....which is not correct. The value should be $505,000 which is displayed far below in the bottom of the column next to the Code on the right with "QU-00547". The record is in the details of another field.
Since I need to post the record $505,000 currently at the bottom of the details column (where the code next to it....starts with "QU") at the top. Where the $44,755 is currently.
User generated image
Since I have to suppress records that start with "QU" in the details section but display them at the top of the report next to the Contract Amount.....which is what is approved. Is the best solution a shared variable or something else and is there a more efficient formula over another. Since this is going to be repeated over many many contracts.? Examples welcomed.
SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RUA Volunteer2?

ASKER

I wish that was an option. That order does not work for them. So I am going to have to force it back up to the page header section. Is there any way to do that? Is subreport the only way? I am wondering if performance will take a hit in the report with that solution and did not know if passing a variable around might do it...?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What I cannot show on this forum is the massive text section in the Page Header at the top of the page where lots of text logo and embedded fields are. Unless you are talking about two Details sections where one is suppresses everything that is not "QU" verses the next detail section where everything that is "QU" is suppressed. I could not for NDA reasons show the whole page as there are actual company contracts shown.

It is an oracle database.

So you are saying add another table with the data from the Change Order data {changefield} like "QU" is that what you mean.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I can post the report but would need to keep it private. I assume I can do that? Also can I protect it in a way so only you can look at it? mlmcc?
Avatar of Mike McCracken
Mike McCracken

Not through the EE interface.

mlmcc
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Subreport was all I needed and to pass the records between reports with a shared variable.