ShowReport Error - Access violation

Hello,

I used in my application frxPreview and frxReport components, i.e. I display the frxReport content in frxPreview for each record in the database. I fill the frxReport content using OnGetValue event.
The problem is that when i scroll the table fast enough i get Access violation error and sometimes Exception: "Privileged instruction" error. I think it occurs if i scroll to next record when the OnGetValue procedure is not finished.

How can i fix this? Please, help...

Comments

  • gpigpi
    edited 8:31PM
    You should stop report's preparing and wait this in TfrxReport.OnEndDoc event
  • edited 8:31PM
    gpi wrote: »
    You should stop report's preparing and wait this in TfrxReport.OnEndDoc event

    It helped. Thanks a lot.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.