I have a Crystal Report with some fields. But I want that when a field has a certain value like for example "Nico", I can highlight the row by setting its text style value to BOLD.
Open the report. You can do this in VS.Net or outside of the project if you have another version of CR.
Find the field you want on the report in the designer window. Right click on it. Click Format > Font.
Set the Style to Bold. Find the "Formula" button next to the "Style" drop down. The button has a picture of a pencil with "X-2" printed over it. Click the button to get the formula editor.
In it type this:
Code:
if [i]{your_field}[/i] = Nico then
1
else
0
Dont forget: you must include the curly braces for data field names {} and the @ sign for parameter fields
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.