G
Guest
I'm trying to conditionally format a field in a form and a report based on
the values in two different fields, Due Date and Transaction Status. If the
Due Date occurs in the past week ([Due Date]<=(NOW()-7)) AND the Transaction
Status = "Closed", then I want to format the field (Due Date) in a particular
way.
I'm used to using the AND function in Excel, which I think would work
excellently, but it is not available in Access (correct?). I'm looking at
the SWITCH function, and am not sure how I would use it in a Conditional
Formatting expression in an Access form or report.
If I were using Excel, I would enter IF(AND([due
date]<=(Now()-7),[Transaction Status]="Closed"),,)
Any ideas if SWITCH will work here, and if not, how to use multiple criteria
(in this case, two criteria) in conditional formatting?
TIA for any help offered,
Steve
(e-mail address removed)
the values in two different fields, Due Date and Transaction Status. If the
Due Date occurs in the past week ([Due Date]<=(NOW()-7)) AND the Transaction
Status = "Closed", then I want to format the field (Due Date) in a particular
way.
I'm used to using the AND function in Excel, which I think would work
excellently, but it is not available in Access (correct?). I'm looking at
the SWITCH function, and am not sure how I would use it in a Conditional
Formatting expression in an Access form or report.
If I were using Excel, I would enter IF(AND([due
date]<=(Now()-7),[Transaction Status]="Closed"),,)
Any ideas if SWITCH will work here, and if not, how to use multiple criteria
(in this case, two criteria) in conditional formatting?
TIA for any help offered,
Steve
(e-mail address removed)