S
Stan
I'm need to change the results of an Option Box in a report. In other words,
the option box returns 1, 2, or 3 and I would like it to say "Red", "Yellow",
or "Green" in the report. Is the code done in the 'Detail' section? Also,
I've tried a basic If Then statement but it doesn't like it. Any help would
be greatly appreciated!!
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If QueueStatus = 1 Then
QueueStatus = "Green"
ElseIf QueueStatus = 2 Then
QueueStatus = "Yellow"
etc.
End Sub
the option box returns 1, 2, or 3 and I would like it to say "Red", "Yellow",
or "Green" in the report. Is the code done in the 'Detail' section? Also,
I've tried a basic If Then statement but it doesn't like it. Any help would
be greatly appreciated!!
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If QueueStatus = 1 Then
QueueStatus = "Green"
ElseIf QueueStatus = 2 Then
QueueStatus = "Yellow"
etc.
End Sub