C++ Quick Reports Export to Text file, without dialogue

2004-07-02 05:25:13 AM
I'm trying to run a quick report from within C++ with a text filter. It doesn't work, but when I call preview, and then interact with the Save Dialogue it exports the data.
This is the code I'm using.
qrViolation->ExportToFilter(new TQRExportFilter("c:\\violations.txt"));
Is this a quick report bug? Has anyone dealt with this before? I have to run the program from parameters, and create this report and export the results to the text file.