Ok I'm stumped,
We have one report that refuses to export to RTF. It runs to the screen fine. You can also click on the export button after it has been displayed on the screen and it works ok.
Doing some further digging I found that the program is crashing on the PEStartPrintJob(m_jobHandle,TRUE) statement.
Earlier in the code there are calls to GetSQLQuery and SetSQLQuery. If both of these calls are commented out, the report will export fine.
I apparently have a report on my hands that doesn't like it's query tampered with.
Thanks for your help,
Bob
We have one report that refuses to export to RTF. It runs to the screen fine. You can also click on the export button after it has been displayed on the screen and it works ok.
Doing some further digging I found that the program is crashing on the PEStartPrintJob(m_jobHandle,TRUE) statement.
Earlier in the code there are calls to GetSQLQuery and SetSQLQuery. If both of these calls are commented out, the report will export fine.
I apparently have a report on my hands that doesn't like it's query tampered with.
Thanks for your help,
Bob