Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using the Save As Dialog with a QuickReport Export Filter

357 views
Skip to first unread message

David P. Donahue

unread,
Nov 30, 2004, 11:28:04 AM11/30/04
to
I currently have lines of code similar to:

qReport1.ExportToFilter(TQRCommaSeparatedFilter.Create(ExtractFilePath('report.csv'));

to export a report to a CSV file. Does anyone have any experience with
implementing a Save As dialog in Delphi to perform this same task? I'm
somewhat new to Delphi and QuickReports and I'm not seeing how to link
the Save As dialog oject with what I'm doing here. Any suggestions?


Regards,
David P. Donahue
ddon...@ccs.neu.edu

Girish Patil (Gnostice)

unread,
Dec 1, 2004, 2:06:25 AM12/1/04
to
Hi David,

To show a Save As dialog you can place a SaveDialog (Dialogs tab) on your form,
set necessary properties and do something like:

If SaveDialog.Execute then
Report.ExportToFilter(TQRCommaSeparatedFilter.Create(SaveDialog.FileName));

If you are open to having a look at a full-fledged exporting product with loads
of option, please have a look at eDocEngine:
http://www.gnostice.com/edoc_engine.asp

Also, here's an EXE demo to give you a quick feel of eDocEngine:
http://www.gnostice.com/download/v200p/edocpdfv2_demo.zip

--
Girish Patil
Gnostice Information Technologies www.gnostice.com
---------------------------------------------------------------------
Gnostice eDocEngine (http://www.gnostice.com/edoc_engine.asp) -
Electronic document creation, Report Export, PDF eForms creation...

Gnostice PDFtoolkit (http://www.gnostice.com/pdftoolkit.asp) -
View, Print, Convert, Modify, Enhance PDF docs, process PDF eForms...
---------------------------------------------------------------------

"David P. Donahue" <ddon...@ccs.neu.edu> wrote in message
news:41aca093$1...@newsgroups.borland.com...

0 new messages