Doug Sanders said:
I have a form with a lot of data that is not the easiest to read.
Is there a way to create/emulate the output of greenbar printouts?
I'm not sure, but I think there may be an example of this in either the
Northwind or Solutions sample database. I know I've seen it somewhere.
I don't remember what was done then, but I'd think you could accomplish
this pretty easily like this:
1. Putting a small text box in the report's detail section, with these
properties:
Name: txtCounter
Visible: No
Control Source: =1
Running Sum: Over All
2. Create an event procedure for the Format event of the form's Detail
section, like this:
'----- start of code -----
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me!txtCounter Mod 2 = 1 Then
Me.Detail.BackColor = 16777215
Else
Me.Detail.BackColor = 12632256
End If
End Sub
'----- end of code -----
That ought to do it, or at least be a start.