I use the following on a form to conditionally format a field.
If Me.Submitter = "Black, Stephen" Then
Me.Date_Submitted.BackColor = 255
Else: Me.Date_Submitted.BackColor = 8421376
End If
I'd like to do something similar on a report. I've tried different combinations and approaches similar to the following:
If [CPT]= "99251" then
CPT.BorderStyle = Solid
Else CPT.BorderStyle = Transparent
End If
I've even tried "CPT.BorderStyle.Solid = True" and so on, but nothing so far. It doesn't have to be border style. Any type of formatting that will draw attention to a specific value on a black and white printed report will do. Any suggestions?
Also, can someone provide info on "Select Case"? I have a feeling I'm going to need to use it since it's not just 99251 but 99252 and 99253 as well that I need to trigger the reformat and I have zero experience with select case.
If Me.Submitter = "Black, Stephen" Then
Me.Date_Submitted.BackColor = 255
Else: Me.Date_Submitted.BackColor = 8421376
End If
I'd like to do something similar on a report. I've tried different combinations and approaches similar to the following:
If [CPT]= "99251" then
CPT.BorderStyle = Solid
Else CPT.BorderStyle = Transparent
End If
I've even tried "CPT.BorderStyle.Solid = True" and so on, but nothing so far. It doesn't have to be border style. Any type of formatting that will draw attention to a specific value on a black and white printed report will do. Any suggestions?
Also, can someone provide info on "Select Case"? I have a feeling I'm going to need to use it since it's not just 99251 but 99252 and 99253 as well that I need to trigger the reformat and I have zero experience with select case.