L
laknight
I'm adapting Duane Hookom's Annual Calendar report to display an annual
calendar with the count of number of quotes shown on each calendar day. Duane
uses an OnFormat property in the report with formats the daily date in a row
of 7. What I would like to do is take my record field called "CountOfQuotes"
and place it directly below the date on the calendar. I already have the
field on the report in the correct place but I'm not sure how to add my field
name to Duane's OnFormat Event. Here is Duane's code. Maybe Duane or someone
else can help me. Thanks.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.txtDate.Left = (Weekday(Me.txtDate) - 1) * _
Me.Width / 7
If Weekday(Me.txtDate) <> 7 And Month(Me.txtDate) = Month(Me.txtDate +
1) Then
Me.MoveLayout = False
End If
End Sub
calendar with the count of number of quotes shown on each calendar day. Duane
uses an OnFormat property in the report with formats the daily date in a row
of 7. What I would like to do is take my record field called "CountOfQuotes"
and place it directly below the date on the calendar. I already have the
field on the report in the correct place but I'm not sure how to add my field
name to Duane's OnFormat Event. Here is Duane's code. Maybe Duane or someone
else can help me. Thanks.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.txtDate.Left = (Weekday(Me.txtDate) - 1) * _
Me.Width / 7
If Weekday(Me.txtDate) <> 7 And Month(Me.txtDate) = Month(Me.txtDate +
1) Then
Me.MoveLayout = False
End If
End Sub