• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

Conditional Formatting in MS-Access reports

Is it possible to conditionally format a bound field depending on the value of the field.  For example, I have a field named "Restraint Type".  The value of the field is retrieved from a query used by the Report.  Generally, the values are either left side, right side, ankle, or wrist.  Sometimes the value is NULL because a value was not entered into the source data.  I want to be able to bold the output on the report to highlight that no value was input in the source.

Can this be done in the report design?

Thanks

Glen
0
GPSPOW
Asked:
GPSPOW
1 Solution
 
Rgonzo1971Commented:
Hi,

pls try

IsNull([Restraint Type])=True

Regards
0
 
Dale FyeCommented:
Not sure what you are trying to highlight if the value is NULL.

You could conditionally highlight some other control, or possibly set the controls background to red if the value is null.  To do that you would use something like:

conditional dropdown: Expression
then in the expression box:  Isnull([Expression Type]) = -1
and set the background color to red.
0
 
GPSPOWAuthor Commented:
Thank you

I was able to format my data fields.

Glen
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now