Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Highlight Expert

Posted on 2005-04-07
4
Medium Priority
?
477 Views
Last Modified: 2012-05-05
Does anyone know if its possible to select multiple items and then use the Highlight expert.  I have about 30 formulas that I want to apply the exact same highlighting for.  Each highlight has 4 conditions, seems like doing each one by hand is a little too much of a pain.

I have tried to select muliple items in the report, but the highlight expert is greyed out.  

Any help would be most appreciated!!!!

bob
0
Comment
Question by:vmrfadmin
  • 2
  • 2
4 Comments
 
LVL 28

Expert Comment

by:bdreed35
ID: 13731838
You can select multiple formulas and set the same property conditionally, such as background color, font, border, etc.
This will allow you to set the formatting condition on multiple fields at the same time.

Select your fields.
Right click one of them and choose Format Field.
For background color, click the Border tab.
Click the X+2 button to the right of background.
In the editor, enter something like the following:

if condition1 = true then
    crYellow
else
    crNoColor

Save and Close
0
 

Author Comment

by:vmrfadmin
ID: 13731944
Ok, I tried this out and used a nested if then else statement.  Here is my statement below.



if {@% Spent Bank Fees} >= 1.00 then
crRed
else
    If {@% Spent Bank Fees}>= .75 then
crMaroon
else
    If {@% Spent Bank Fees} = 0 then
crBlack
else
    If {@% Spent Bank Fees} <= .50 then
crLime
else
    If {@% Spent Bank Fees} <= .74 then
crOlive
else
crNoColor

Now....I have the same problem.  I have to create a specific snipet of code for each item.  I have over 30 formulas and will have to use this code above and each time change the formula value...... such as the one in my example.  {@% Spent Bank Fees}

How do you think I should get around this problem?

thanks,
bob
0
 
LVL 28

Accepted Solution

by:
bdreed35 earned 2000 total points
ID: 13732016
You can use CurrentFieldValue function and I would also use a Select Case structure to make it easier to read:

select CurrentFieldValue
    case is >= 1    : crRed
    case is >= .75 : crMaroon
    case 0             : crBlack
    case is <= .50 : crLime
    case is <= .74 : crOlive
    default            : crNoColor
0
 

Author Comment

by:vmrfadmin
ID: 13732276
cool, cool, cool.

That is really a neat little trick.  Saved me tons of time!!!!!!

Thanks!!!!

bob
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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Suggested Courses

564 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