Home > Archive > Visual Basic > October 2004 > get unloaded report to trigger event
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
get unloaded report to trigger event
|
|
|
| Hi,
I have a standard data report(.dsr)
when it is closed I would like an activity/code to trigger(call a
function), but I can't find any properties in the report to do this.
in sudo code I need something like:
if me.closed(rport.dsr) then
call frmForm1.myFunction
end if
Any help appreciated
regards
Eric
| |
|
| The DataReport itself has two events that may work for you:
Private Sub DataReport_QueryClose(Cancel As Integer, CloseMode As Integer)
End Sub
Private Sub DataReport_Terminate()
End Sub
--
Chris Hanscom - Microsoft MVP (VB)
http://www.veign.com
--
"Eric" <estacey@chariot.net.au> wrote in message
news:d16bbdbf.0410280727.63759c11@posting.google.com...
> Hi,
> I have a standard data report(.dsr)
> when it is closed I would like an activity/code to trigger(call a
> function), but I can't find any properties in the report to do this.
> in sudo code I need something like:
>
> if me.closed(rport.dsr) then
> call frmForm1.myFunction
> end if
>
> Any help appreciated
> regards
> Eric
|
|
|
|
|