Prepared report problem

Hi everyone,
I have problem with calling ShowPreparedReport() function

Here is the source:
if (OpenDialog->Execute()) //*.frp
{
frxReport1->LoadFromFile(OpenDialog->FileName);
frxReport1->ShowPreparedReport();
}

On execute i've got "Class preparedreport not found"

Help pls

thanks in advance

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 11:07PM
    load the reports preview pages
    frxreport1.previewpages.loadfromfile('path&filename.frp')
  • edited 11:07PM
    gordk wrote: »
    load the reports preview pages
    frxreport1.previewpages.loadfromfile('path&filename.frp')

    Yep it's working! [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Thanks a lot![/img]

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.