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

nardmoseley

About

Username
nardmoseley
Joined
Visits
8,059
Last Active
Roles
Administrator

Comments


  • Sorry to not respond to this sooner.

    I performed some testing here using the Custom Parameters example for the
    Server and WebTier, but did not encounter any errors.

    Can you specify steps for me to recreate the error…

  • Okay, I see from your next post that you are using RB's PDF device.

    Make sure you are using RB 9.01, it contain a PDF fix.

    There is an addition patch available for RB 9.01 that fixes an issue related
    to generated int…

  • Are you using RB 9.01 and the new RB PDFDevice to generate the PDF?

    There was a bug in RB 9, that sometimes resulted in an empty PDF file.


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-me…

  • The RBServer\Demos\Web Tier\Custom Viewer example shows how to add an Excel
    button to the web veiwer's toolbar. The example creates two descendant
    classes TmyWebViewerStyle and TmyWebViewerFrameNav. The TmyWebViewerStyle
    is regi…

  • I recommend that you avoid using the BDE altogether.


    -----------------------------------------------
    Tech Tip: RB Server and the BDE
    -----------------------------------------------

    Question
    --------

  • According to the log, the error occurred while procession a request for the
    report indicated by the following path...

    Report Files\Usage\Member Usage by Contract Range

    The exception thrown was...

    EExternal…

  • I recommend using RB Server Edition to implement what you describe. Download
    the trial version and spend some time with the RB Server Developers Guide
    tutorials and the demo applications.

    RB Server Edition provides a multi…

  • You need an ADOConnection and an ADODataSet. That will ensure thread-safety.

    Please do not post attacments to the newsgroups. Please post questions to a
    single destination, do not post to both support@digital-metaphors.com an…

  • This is a limitation imposed by the low level Delphi socket code that RB
    Server is using.

    I researched this one by using the debugger to trace into the Delphi source
    code. In the unit Sockets.pas, there is a method called<…

  • The information stored in the rbWebTier.ini is read when the WebTier.Loaded
    method executes. The Delphi streaming system calls TComponent.Loaded, "The
    streaming system calls this method after it loads the component's form from


  • The TrsIniSettings class uses TppFileUtils to resolve the directory path.

    Example:

    uses
    ppFileUtils;


    if IsLibrary then
    lsDirectoryPath := TppFileUtils.GetLibraryFilePath
    els…

  • Just to clarify for me.

    1. For the Windows 2000 server, if you change the rbWebTier.ini file, are
    the new values used?

    2. For the Windows 2003 server, if you hard code the WebTier properties with
    the same values…

  • Check that

    a. TrsWebTier.IniSettings.Enabled is True
    b. TrsWebTier.IniSettings.FileName is valid, the default is
    ($Application)|\rbWebTier.ini


    --
    Nard Moseley
    Digital Metaphors Corporation

  • Yes, see article below on executing a specified report. For the 'content'
    parameter you can specifiy 'pdf' rather than 'viewer'.

    Here is an example that executes a report on our live demo server. The
    volume is Live Reports…

  • The client report and server both do caching of pages to speed performance.
    Try setting RefreshRequest to True when you update the parameters.

    {set parameters}
    ClientReport.RefreshRequest := True;
    ClientReport.Print;<…

  • The demo version is limited to running the WebTier and Server on the same
    machine. You have to specify 127.0.0.1 for both applications.


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.c…

  • Sorry, I did not realize you were installing the trial. The RB Server Trial
    version will only work with the RB Enterprise Trial version that it
    installs. So you need to test using another machine, if possible.

    The RB Serve…

  • The RB Server Edition installation program will install RB Server and RB
    Enterprise. Therefore, run the installation and let it delete you current RB
    Ent installation and install it again.




    --
    Nard M…

  • Yes, decendants of TrsWebContentProviderReportFile can do this. This how the
    PDF button that appears on the web report preview works. There is an example
    of adding an XLS button to the web report viewer that contains the source to

  • Excellent news! :)

    Thanks for sharing that tip!

    --
    Nard Moseley
    Digital Metaphors Corporat…

  • The most common use of the WebTier is in an ISAPI.dll application. There are
    no known issues with using the WebTier in an ISAPI.dll.

    You might try setting WebTier.GarbageCollection.SeparateThread to False. The
    default is T…

  • From looking at the source code to the server, the OnGetPublishingOptions
    event fires prior to the report being loaded from the database or any error
    being raised.

    Try modifying the example installed to the RBServer\Demo…

  • Sorry, I misunderstood the question.

    Try using the ReportVolume.OnGetPublishingOptions event. It occurs before
    the report is loaded.



    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digit…

  • See the online helpf to the ReportVolume BeforePublishReport event and the
    TrsBeforePublishReportEventParams class


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



  • Try using the ReportVolume BeforePublishReport event to initialize it. This
    event has an aEventParams object parameter that provides access to the
    report instance.


    --
    Nard Moseley
    Digital Metaphors Corpora…

  • 1. For an example of filtering the directory based on a session login check
    out theRBServer custom parameter demos installed to

    RBServer\Demos\WebTier\CustomParameters
    RBServer\Demos\Clients\CustomParameters
    RBServer…

  • Thanks for the feedback. This would require a re-design of the current web
    explorer or perhaps creating an entirely new one that can be used as an
    option. Probaly will not happen soon.

    1. I am willing to send you the sou…

  • RB 11 for D2009, the webtier uses UTF-8.

    RB 11 for D2007 and prior, the webtier uses ISO-8859-1 (i.e. Latin-1).

    Please generate a sample report to an archive file (.raf) and then zip it up
    and send it to support@dig…

  • I researched this one and looks like we need to call Delphi's AnsiToUtf8
    conversion function when generating the XHTML. We will try to correct this
    for the next maintenance release, RB 9.02.



    --
    Nard Mos…

  • Are you using .rtm files or reports stored in a database? In any case, you
    need to use RB Enterprise to load/edit/save the report definitions.

    The ReportVolumes used by the server can use either .rtm files or reports
    sto…