PDF Export Problem
Good Day,
I moved from the free Fast-Report in Rad Studio 4 to the paid version last week. Now if I export a report to pdf, the first pdf works fine. If I create another one from the application the created pdf gives an error:
"There was an error processing a page. There was a problem reading this document (18)"
If I hold cntrl and click OK it gives a bit more information:
"Expected a name object"
This is very strange since the first pdf creates without any errors. Perhaps I need to clear something in the code first ? It was working fine before I installed the paid version.
Any help will be appreciated.
Kind Regards
Simon Gerber
I moved from the free Fast-Report in Rad Studio 4 to the paid version last week. Now if I export a report to pdf, the first pdf works fine. If I create another one from the application the created pdf gives an error:
"There was an error processing a page. There was a problem reading this document (18)"
If I hold cntrl and click OK it gives a bit more information:
"Expected a name object"
This is very strange since the first pdf creates without any errors. Perhaps I need to clear something in the code first ? It was working fine before I installed the paid version.
Any help will be appreciated.
Kind Regards
Simon Gerber
Comments
The creation/destruction is now under my control and I can do create at appropriate places, I can have multiple instances, etc. It will also ensure that all its variables are initialized to their correct initial values.
If that doesn't help then it becomes a real debugging session.
Good Luck
Thank you for the response, creating the component dynamically worked and solved the issue.
Appreciated!
Simon.
Regards
Geralt