Solved

Export Button

Posted on 2003-10-24
3
394 Views
Last Modified: 2010-08-05
Hello,
      I am using crystal reports 9 with VB6. My question is “ Can I over write export button of crystal report so that when ever user click on that file automatically save on a predefine location”. Thanks in advance. With regards fazi
0
Comment
Question by:mfazi
  • 2
3 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 25 total points
ID: 9615346
Does it have a click event?  Have you tried putting code in say just a Message Box to see if it overrides the normal action?

IN mine the viewer has an ExportButtonClicked event.  

I just did this

On the form with viewer I added code for the viewer ExportButtonClicked event

Private Sub crViewer_ExportButtonClicked (UseDefault as Boolean)

  msgbox "Here"
  UseDefault = False

end sub

I got the message box but no prompt for the export.  Without the last line I got the message box and then the start of the export with a prompt for the file type.

mlmcc
0
 

Author Comment

by:mfazi
ID: 9618797
Yes it works fine. It sloves my one problem  but other part of the  problem still not slove which " What code i need to wrtie so that it saves the file at predefine location and in predefine format." In the above example which you tell me i need to write some thing so that it makes the file without showing the export dailog box. wih best regads fazi
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 9624909
I'll try to find my exporting code in the morning.

mlmcc
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question