|
-
June 20th, 2001, 03:56 AM
#1
CrystalReport component VS Unload
URGENT.Help me please...( I rate my help )
I have a MDIForm with a complex menu programed in a module, and in a option i wrote:
If Menu.myoption.Text = "AN40" Then
myform.crystalreport.ReportFileName = rserver & "\mycristalreport"
myform.myprocedure
in the form the myprocedure opens mycristalreport and all functions.
My problem is i must know when mycrystalrport is closed, for some other code. How can i do that?
If i put the Unload command the report opens and close imediatily....
I using VB6, SQL7, WNT and Crystal8
...sorry my bad English
-
June 21st, 2001, 02:27 AM
#2
Re: CrystalReport component VS Unload
Can you dim your crystalreport withenents?
ie:
dim withevents crystalreport as...
if you can, then look at the events added for an unload (or close) event...
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|