Solved

Export Button

Posted on 2003-10-24
3
390 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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 explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now