(Msg. 1) Posted: Fri Sep 05, 2008 9:51 pm
Post subject: report events not executing code Archived from groups: microsoft>public>access>reports (more info?)
i put msgbox message inside a few report events and am not seeing ANY of the
messages pop up???? i put the messages in because the other code i had in
them didnt seem to be working.
Private Sub Report_Activate()
MsgBox ("in report activate event")
If Me.GroupFooter0.Controls(AccessTotalsAmount) = 0 Then
Me.GroupFooter0.Controls(AccessTotalsAmount) = 999999
End If
End Sub
Private Sub Report_Current()
MsgBox ("in report current event")
End Sub
Private Sub Report_Load()
MsgBox ("in report-load event")
If Me.GroupFooter0.Controls(AccessTotalsAmount) = 0 Then
Me.GroupFooter0.Controls(AccessTotalsAmount) = 999999
End If
End Sub
(Msg. 2) Posted: Fri Sep 05, 2008 10:12 pm
Post subject: Re: report events not executing code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
never mind, problem went away after restarting the database.
"mg" <me.TakeThisOut@here.net> wrote in message news:bRhwk.68407$hx.63191@pd7urf3no...
>i put msgbox message inside a few report events and am not seeing ANY of
>the messages pop up???? i put the messages in because the other code i had
>in them didnt seem to be working.
>
> Private Sub Report_Activate()
> MsgBox ("in report activate event")
> If Me.GroupFooter0.Controls(AccessTotalsAmount) = 0 Then
> Me.GroupFooter0.Controls(AccessTotalsAmount) = 999999
> End If
> End Sub
>
> Private Sub Report_Current()
> MsgBox ("in report current event")
> End Sub
>
> Private Sub Report_Load()
> MsgBox ("in report-load event")
> If Me.GroupFooter0.Controls(AccessTotalsAmount) = 0 Then
> Me.GroupFooter0.Controls(AccessTotalsAmount) = 999999
> End If
> End Sub
>
>
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum