- |
Option Compare Database Option Explicit Dim S As Currency, S1 As Currency Private Sub Report_Open(Cancel As Integer) S = 0 S1 = 0 End Sub Private Sub _Format(Cancel As Integer, FormatCount As Integer) S = 0 S1 = 0 End Sub Private Sub _Format(Cancel As Integer, FormatCount As Integer) Me![] = S1 End Sub Private Sub _Format(Cancel As Integer, FormatCount As Integer) S = S + Me![] S1 = S If Me.. Then Me..Visible = False Else Me..Visible = True End If End Sub
http://www.sql.ru/forum/1157176/po-stranichnye-itogi-v-otchete