Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
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

Report this thread to moderator Post Follow-up to this message
Old Post
Eric
10-28-04 08:55 PM


Re: get unloaded report to trigger event
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



Report this thread to moderator Post Follow-up to this message
Old Post
Veign
10-28-04 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Basic archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:26 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.