G
Guest
Hello,
I used this article to shade every other detail in a report.
http://www.support.microsoft.com/kb/210392/EN-US/
it worked beautifully for about three weeks. suddenly for no apparent
reason, it is giving me a problem. when i print preview it, i get a "run-time
error '2427' you entered an expression with no value". Here is my code. It is
highlighting the first line:
Private Sub GroupHeader0_Print(Cancel As Integer, PrintCount As Integer)
Const SIENNA = 3762381
Const GREY = 13481631
If (Me![LineNum] Mod 2) = 0 Then
Me![Week].BackColor = GREY
Me![Label12].BackColor = GREY
Else
Me![Week].BackColor = SIENNA
Me![Label12].BackColor = SIENNA
End If
End Sub
I also followed the LineNum text box on this tutorial, with Control Source
being =-1. etc.
This is frustrating because there seems to be NO difference between last
week and this one.
Any help would be very much appreciated.
Thanks,
Angie
I used this article to shade every other detail in a report.
http://www.support.microsoft.com/kb/210392/EN-US/
it worked beautifully for about three weeks. suddenly for no apparent
reason, it is giving me a problem. when i print preview it, i get a "run-time
error '2427' you entered an expression with no value". Here is my code. It is
highlighting the first line:
Private Sub GroupHeader0_Print(Cancel As Integer, PrintCount As Integer)
Const SIENNA = 3762381
Const GREY = 13481631
If (Me![LineNum] Mod 2) = 0 Then
Me![Week].BackColor = GREY
Me![Label12].BackColor = GREY
Else
Me![Week].BackColor = SIENNA
Me![Label12].BackColor = SIENNA
End If
End Sub
I also followed the LineNum text box on this tutorial, with Control Source
being =-1. etc.
This is frustrating because there seems to be NO difference between last
week and this one.
Any help would be very much appreciated.
Thanks,
Angie