C
chris.nebinger
Okay, gang, here's my problem. I have a 200 page report to print out.
Each page is one specific item. Each item is a group header, with any
number of detail lines. So far, so good.
Now, I want to list a letter on the right side of the page to make it
very easy to flip through the report. Again, easy enough.
I want that letter to move down the page according to which letter, A
being at the top, Z being at the bottom.
I can do this inside the group header:
Private Sub GroupHeader0_Format(Cancel As Integer, FormatCount As
Integer)
Dim intTop As Integer
Dim intStart As Integer
intTop = Asc(Left(AttributeName, 1)) - 65
txtLetter.Top = Int(GroupHeader0.Height / 26 * (intTop))
End Sub
However, I am limited to the header. I want it to go through the whole
page. I tried using the page_report event, but I think I can only draw
lines..... Any ideas?
Each page is one specific item. Each item is a group header, with any
number of detail lines. So far, so good.
Now, I want to list a letter on the right side of the page to make it
very easy to flip through the report. Again, easy enough.
I want that letter to move down the page according to which letter, A
being at the top, Z being at the bottom.
I can do this inside the group header:
Private Sub GroupHeader0_Format(Cancel As Integer, FormatCount As
Integer)
Dim intTop As Integer
Dim intStart As Integer
intTop = Asc(Left(AttributeName, 1)) - 65
txtLetter.Top = Int(GroupHeader0.Height / 26 * (intTop))
End Sub
However, I am limited to the header. I want it to go through the whole
page. I tried using the page_report event, but I think I can only draw
lines..... Any ideas?