Highlighting Expert
Post Author: jcpub
CA Forum: Administration
I am using Highlighting Expert to change the color of several fields based on the data found in a particular fields. It works OK. However, I have several columns to format and 5 criteria per column. Is there a way to use this tool on several fields at a time? I tried selecting all of the fields but then Highlighting Expert does not appear.
Thank you.
Hi Divya,
The Highlighting Expert is 'just another way' to conditionally colour fields. It is usually used by developers who are very new to Crystal Reports and are not very comfortable with the whole idea of writing 'code' for simple things.
Do note however, that complex formulae/conditions cannot be defined in the Higlighting Expert - that's where you'd need to get used to the formula editor.
-Abhilash
Similar Messages
-
Using Highlighted Expert With Formula (i.e. 'Insert Summary')
I'm trying to compare the summary of a value (via formula (let's call it 'formula A' ) that uses the 'Insert Summary' option in Crystal Reports) with the value that is in a table. The formula does not show in the list of available fields (i.e. in the 'Item editor' section for 'Value of') of 'Highlight Expert'. So, I used 'Other Fields ...' (which took me to 'Choose Field'). I found the field (as a Group#1 total), so I set it up to compare this Group #1 total for 'formula A' to 0.00. I then tried to create logic in formula 'A' which currently does what it supposed to do, but it states that 'A formula cannot refer to itself, either directly or indirectly." How can I refer to the value and flag (i.e. 'crRed' - 'Conditional Formatting Function') the value if they are different. Thanks ! ! !
I found another way to compare these two (2) values. It is outlined below:
1. Right click on the value
2. Select 'Format Field . . .'
3. Select 'Font' tab
4. Create the formula (As shoen below)
If {Region.Commission_Amt} <> {@Commission Amount} Then crRed;
Now, my problem is that any value after the decimal point that does not end with a '00', '05', '50' is flag in red. I tried rounding, but it did not solve the problem. Since I can't see the actual values, I don't know what is causing this. Any ideas ? -
Conditional highlighting on cross-tabs
Does anyone know if it is possible to conditionally highlight a field in cross-tab based on another field in the table? The field we're using to condition is not in the cross-tab, nor do we want it to be in the cross-tab. We need to highlight a report field based on another field from each record reported. Highlight expert won't let you highlight the field unless the field is in the cross-tab.
yes it is possible
Select the field from Cross Tab which you want to Highlight Right Click Select the Format Field
Select the Font TabÂ
Select the formula button next to color
Then enter the formula
IF field not in cross tab = somevalue then
mention the Color Code which you want....
Thanks
Rahul -
Highlight the highest group sum
Hello,
I am quite new to CR Design (Version XI ), so thanks for your help in advance.
My report shows indices of a month as details. The indices are grouped by parameter.
I get the sum of the indices by using a group sum formula in the group footer.
Now is there a way to show the highest group sum with a different colour?
Thanks a lot!
BarbaraThanks Panda,
while in the highlight expert I could only find to check for "is higher than", I rather need
the formula telling me which group sum is the highest (maximum).
I guess the highlighting can only be done after all the group sums have been calculated,
and this is where I get stuck.
Barbara -
Conditional Formatting in Crystal Reports
Hi,
I am trying to create a layout where in need the child items to show up in Italics. Can any one help me with this?
Thank you.You can consider the following:
1. Highlighting Expert.
You can select the field you want with the Italic format, right click it and the select Highlighting expert. put in the condition, and select Font style = Italic.
2. You can also put in formula the field itselg.
If you rightclick on the field you want,, go to the font tab, on the right of the "Style", click on the pen and put in the condition. Italic = crItalic. -
Remove duplicate records in Live Office, caused by CR Groups
hello all
i have a CR with groups. all works well, until i use the report in live office, were it is duplicating the group data for each of the detail records
i have removed the details from the CR report, leaving only the group data, but it still happens
anyone have a work around ?
thanks
gHi,
First you select the report name from the left panel and check whether option is coming on not.
or you try with right click on any report cell then go to live office and object properties.
Second , you are getting duplicate record in the particular this report or all reports.And how many time highlight expert you are using in this report.
Thanks,
Amit -
Is it possible to change the color of a pieseries data row
depending on a value? For example if the value is greater than 90
the color should be always red. If it is less than 90 and greater
than 70, the color is yellow.. Something like this.
Thanks.Thanks for your reply. I was able to see the field only after I added it to the report as specified by Deepa. I configured the Highlight Expert to use the new Flag field. Basically if the field was 1 then the bar should be red.
However the the color of the bar in the chart did not change color. I checked the data being passed to the report and the Flag field was set to 1 for the output however the color of the bar did not change.
Do you have any suggestions? -
Dear Experts,
I want to supress all amounts with negative values. How to do that in Cross Tab Report or can you help me in making the right formula for it.
Regards,
KamleshHi Kamlesh,
I can reproduce Your Problem,
Which is becouse of Cross-tab is not accepting single Data Selection. If we apply Suppress, All datas got suppressed if any of the one has negative value.
I have one workaround to solve this issue through "Highlighting Expert", But i dont know its a right way or not..
Right Click on field>Highlighting Expert>Create New Condition-->In Item Editor,
Value of "This Field is Less than 0.00"
And make the font Color As "White"-->OK
Thiis will works. it may be a wrong way . But what to do?.. No other options blinking in my brain now. LOL
Do wait for others reply.
Regads,
Salah -
Calculation fields(column) In crystal report
Hi Experts
I have created a new report gainst A/R Invoice. Which contains DocNum, Docdate Card Name, DocTotal and Paidsum. Now I want derive balance and I want to put condtion formatting for those balance columns.
Can anyone help me How to calculate Doctotal-Paidsum to Balance column and to highlight the balance column which is more than sixty days amounts.
Waiting for ur replies.
By
Kalaiyou need to create a formula field to do this and then just drag and drop it into the report like any other column.
formula should be along these lines
{OINV.DocTotal}-{OINV.Paidsum}
as for the highlighting, just go to the designer, right click on the field you want to highlight and go to highlighting expert and follow the wizard from there to create a condition of when highlighting should occur. if your field is not available in the "Value Of" just build the field yourself as a Formula field and you will then be able to select that from the "Value Of" list.
hope it helps... -
hi all
i am new in this forum. i have facing problem in cross tab report. in my project i'm using cross tab crystal report. i have removed record navigation option.so entire record will be displayed in one page, in this crystal reportviewer will split the records with help of page break. if i got page break the heading will be display again and again for every page break. i want to display heading only one time for all pages using Cross Tab report. Anybody knows tell me the idea
Thanks & Regards
Aravinth KThe above highlighting works in regular crystal report but not in cross tab report.
I am wondering is there differnt procedure to work in cross tab? I noticed there's a highlighting expert function in corss tab menu... -
Help setting one sentence in a command field to Bold
I have created a report to send a letter to a customer. I used the "add command" functionality to create a specific table which retrieves the fields of data which need to be included in the letter (via Database Expert -> Add Command). I pasted in a sql statement which I wrote in another piece of software, and it retrieves the data perfectly. I am using Crystal Reports 11, and I work in an Oracle based environment.
One of the fields which I retrieve is called "First Paragraph". My code for first paragraph in add command is (I'm trimming some of the text for the purpose of this discussion):
, 'On '|| TO_CHAR(FolderProcessAttempt.AttemptDate, 'fmMonth DD, YYYY')
||' , a City Housing Inspector visited the above address and found the following violations'
||chr(13)||chr(13)
||'You must call for a re-inspection to close your case without incurring a fee.' FirstParagraph
This provides a really nice paragraph, and the date in the first sentence reads very nicely ("On September 1, 2009" versus "On May 1, 2009"). This is a nicer solution to inserting multiple fields for "On", then having the date variable, then having the rest of the text.
My question is this (and I appologize for rambling this long already): how do I make just that last sentence bold or underlined? Because it is one field within Crystal, I haven't been able to determine a methodology for editing portions of the text. I was playing with right clicking and selecting "Highlight Expert", but that too wanted to evaluate the entire field.
Any help is appreciated!
thanks,
NoelI'm going to answer my own question in case somebody else out there searches for this issue.
Creating a seperate field is the beginning. I know that you can simply create two seperate fields, sit them next to eachother, and use the bold button at the top to make one bold. However, if you are trying to bold one sentence and not the other, it gets tricky when you have parameters where lengths can change (you can't guess where to place both fields).
The answer is to create a seperate field for each section of your paragraph that you want bolded, or underlined, and use the formula field to parse the paragraph together.
In your "Add Command" select statement:
SELECT
blah blah blah
, 'This is my first sentence.' FIRST
, ' This is my bold sentence.' BOLD
, ' This is my underlined sentence.' UNDERLINE
, ' This is my first sentence in a new paragrpah.' NEWP
FROM
blah blah blah
Now create a new forumula and call it PARAGRAPH or some other name.
Place this text into the forumla:
"<p>"{Command.FIRST}"<B>"{COMMAND.BOLD}"</B>""<U>"{COMMAND.UNDERLINE}"</U>""</p>""<p>"" ""</p>""<p>"+{COMMAND.NEWP}
Place your new formula called PARAGRAPH into your report. Right click on it and choose Format Field. Under Paragraph, choose "HTML Text" in the Text Interpretation box. Choose Can Grow in the Common Box so that your paragraph can expand properly. -
Please help me with this.
Customer wants to highlight and copy a cell data manually. Is this a limitation of the Crystal Report? I don't see any options like right click, high light a cell etc. in the report? Or there is some property to set? Thanks in advanceHi Benny,
If you right click on any cell you will be seen "Highlighting Expert..." option once you click on this you will be getting a screen called Highlighting Expert. In this screen you may choose
1.What to highlight based on what condition.
2.Font Style
3. Font Color
4. Background
5. Border
In the sample you would be seen the sample for the items you chosen above, if it is ok you can click on ok. Thats it.
Hope this helps you,
Thanks,
Ashok -
Looking for expert who can highlight 3d model node in adobe reader with external program
I need to select and highlight 3d model node in adobe reader with my program.from outside of adobe reader. it seems there is no out-of-box API in stndard SDK. I want to outsource this task fully or partly. If you have the solution or able to provide consultant in this area, please send message to me.
You would indeed need a plug-in to actually select and highlight but you can easily call attention to a part by temporarily changing the color via JavaScript which you can access from external applications.
I can provide more specific advice if you explain the exact user interaction you're looking for. Is this a desktop application? Is the PDF in a browser? etc.
J- -
Highlighting Text Acting Like REDACTING Text
Dunno what's goin on. A Pro 9. Windows Home, ALL UPDATES.
I highlight text and instead of seeing the text highlited, the highligt COVERS the tex. It's YELLOW colored REDTACTION.
I've REPAIRED the app TWICE. I REBOOTED each time. That APPEARED to have corrected the problem. It DIDN'T because the REPAIR failed and the HIGHLIGHT BLOTTOED OUT the text. I uninstalled and reinstalled the app. I opened the last thing I was working on where the YELLOW HIGHLIGHT redacted the text and the text WAS VISIBLE while highlighted. THEN I opened another PDF file and same deal, the YELLOW highlighting REDACTED rather than HIGHLIGHTED.
Uh, is it a me thing? Is it a thing I can chek or uncheck in A Pro 9? Wassup with this weirdness?CS4 is not kind to those who don't know HTML/CSS well enough
to avoid these
errors, I'm afraid. It's really all about how much HTML and
CSS you feel
comfortable with, not the tool you are using. Should the
page/site be
rebuilt? I think so - at the least it should be taken apart
and
reassembled. Are the mistakes you made ones that you will
make again? Yes,
I think so.
I don't want to sound harsh or pessimistic, but I think
that's the bottom
line. I assume you are building the site for her so that she
wouldn't have
the expense of paying someone to do it, right? But wouldn't
you also want
her site to be the best it can be, and not to look/behave
like someone's
first site?
Now - if you want to bite the bullet and shove down some HTML
& CSS, and
muddle through, there is plenty of help here, but if you
aren't carrying
your load, people will tire of solving the problems you
encounter.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"rob717" <[email protected]> wrote in
message
news:gpbkbn$d8c$[email protected]..
> Murray, My wife owns the company but I made the website
for her using DW 8
> (The
> Macromedia version). In December/January I upgraded all
my Adobe programs.
> I
> like the home page layout but I guess I could just redo
it and hope DW CS4
> holds my hand enough to avoid all the errors. I'm
retired and not really
> very
> good at all this. Do you think I should just start over
because I really
> don't
> have the experience to fix the errors? Rob
> -
How to highlight the messages in the WDA?
hi experts,
Iam new to Webdynpro.i just want to know how to highlight the texts displayed . like BOLD,italic etc and also colors.
Regards,
murthy.I dont think you have it via standard message area. Probably you can have a TextView UI element and use the properties Design and semanticColor to achieve this. If you have a contextNode , thats mapped to the texview and message manager writing text to this node. Solution should work.
Greetings
Prashant
Maybe you are looking for
-
How do I get a new email for Apple ID? Forgot password to old email linked to ID :(
I created my first iTunes account when I was in middle school (very long ago). I of course used my email from those days to create my ID. I continued to use my iTunes even when I got a new email, so I remembered my Apple ID password, but have since f
-
I have lost all my apps and music off my iphone how do i get it off itunes on to my iphone
i did an update on my iphone and all my apps and music have gone how do i get them off itunes back on to my iph
-
USRID_LONG field from PA0105 table
Hi Experts, I have created view on PA006 and PA0105 tables. i want to add USRID_LONG field from PA0105 to my view. but the length of the field is 241 and it is not adding to view. how can i add this field to view. BW side Info objects accepts the len
-
Lost music file association in win 7 after installing iTunes.
After installing iTunes on my win7 PC my music did not show up in iTunes and now when I go to the music files in windows it shows all the folders empty. I performed windows search on my drive and with some effort can find the music. Please note these
-
C4680 printer will only print 1/2 page
i have installed drivers again but still only prints 1/2 page. i first installed on dell desktop was fine went to hp desktop won't function??