J
Jennifer Wells via AccessMonster.com
I have a report that prints as a calendar. The details section of my
report is split into 7 columns, and in the On Format section of my detail,
i have the following code which sets the date under the correct column (Sun-
Sat) according to the day:
icounter = icounter + 1
If Weekday(Me.Date, vbSunday) > icounter Then
Me.MoveLayout = True
Me.NextRecord = False
Me.PrintSection = False
End If
it works great to put the date in the correct column for the first page of
my report. however, i want to group date by month and have a page break
after each month. i can do so with the Force New Page property of my
DateHeader, however, the dates on the subsequent pages are not set to the
correct columns (Sun-Sat.). How can i do a page break after each month,
and reset the dates to the correct day columns???? Any advice is GREATLY
appreciated!!!!
report is split into 7 columns, and in the On Format section of my detail,
i have the following code which sets the date under the correct column (Sun-
Sat) according to the day:
icounter = icounter + 1
If Weekday(Me.Date, vbSunday) > icounter Then
Me.MoveLayout = True
Me.NextRecord = False
Me.PrintSection = False
End If
it works great to put the date in the correct column for the first page of
my report. however, i want to group date by month and have a page break
after each month. i can do so with the Force New Page property of my
DateHeader, however, the dates on the subsequent pages are not set to the
correct columns (Sun-Sat.). How can i do a page break after each month,
and reset the dates to the correct day columns???? Any advice is GREATLY
appreciated!!!!