Format of recrod in report

I'd like to now if it's possible and how to format a row of a report at runtime.  I mean, I want the row to be in italic if one of the field is not empty
gfaucherAsked:
Who is Participating?
 
schefferaConnect With a Mentor Commented:
set the condition first:

if isnull(FieldName ) then
    FieldName.FontItalic = -1
else
    FieldName.FontItalic = 0
end if


that's a better example, put that in the Detail_Format subroutine of the report

0
 
koengiCommented:
Just go to properties and there you can set the font in bold, italics.

0
 
schefferaCommented:
In the on format event of the detail set the format of the field.  It would be something like this:

FieldName.FontItalic = -1


Don't forget to set it back to 0 or all of the records will be italic.  
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
gfaucherAuthor Commented:
koengi

I know that, but I cannot do that at runtime
0
 
gfaucherAuthor Commented:
Thanks a lot!!
I've tried something similar but it haven't worked
0
 
schefferaCommented:
My pleasure..... :)
0
All Courses

From novice to tech pro — start learning today.