Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Help Please

edited July 2004 in General
I have a report (Invoice) that was working fine, today I tried viewing and
the viewer is displayed but there is not data on the report and stays idle
and I have to reset the delphi project in. Wierd !

Any tips of what might be will be greatly appreciated.
I'm using Delphi Enterprise and RB 6.03

Tia
Charles Urbina

Comments

  • edited July 2004
    Hi Charles,

    I'm unclear about what exactly is happening. This is not a known issue with
    ReportBuilder. Are you using a custom preview window? Did you load a
    template into a report component and when you ran the report, nothing showed
    up in the preview window? Be sure to check your data access and be sure
    your application can connect to it properly.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2004
    Nico,

    with
    showed
    Yes, nothing showed. And was working before. I just found the problem this
    code that I have on the ReportPreviewFormCreate. This code was working, all
    I did was to open the project on another computer which has all the
    components I'm using on the application.

    procedure TfrCRM.CustomersReportPreviewFormCreate(Sender: TObject);
    CustomersReport.PreviewForm.WindowState := wsMaximized;
    TppViewer(CustomersReport.PreviewForm.Viewer).ZoomSetting := zs100Percent;

    Can someone tell me why this is not working.??

    Regards
    Charles Urbina

    and
    idle
  • edited July 2004
    Hi Charles,

    If you set the CustomersReport.PreviewForm.ZoomSetting property, are you
    still seeing this behavior? If you take a look at the TppViewer code, you
    will see in the SetZoomSetting routine that the property is simply set and
    the page is rendered again. This should not cause a blank page to show up.
    I would suggest tracing this RB code to possibly find the area that is
    causing the problem.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.