AccessGuruCarl
Programmer
I have a report that, when its an odd number page, text in the header is right justified, if it's an even number page then its left justified.
Presently I'm doing this with a Select Case Statement
Select Case Reports!Tax.Page
Case 1,3,5,7,9,11,13 etc....
txtHeaderCtl.TextAlign = Right
Case Else
txtHeaderCtl.TextAlign = Left
End Select
I'd rather test for Odd or Even number if possible... Due to unknown number of pages in future reports.
Thanks in advance...
AccessGuruCarl
Programmers helping programmers
you can't find a better site.
Presently I'm doing this with a Select Case Statement
Select Case Reports!Tax.Page
Case 1,3,5,7,9,11,13 etc....
txtHeaderCtl.TextAlign = Right
Case Else
txtHeaderCtl.TextAlign = Left
End Select
I'd rather test for Odd or Even number if possible... Due to unknown number of pages in future reports.
Thanks in advance...
AccessGuruCarl
Programmers helping programmers
you can't find a better site.