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

nardmoseley

About

Username
nardmoseley
Joined
Visits
8,049
Last Active
Roles
Administrator

Comments


  • We do not have any examples of this. You could perhaps copy the source to
    the Report Explorer and adapt it for these needs.

    To store an archive to a database Blob, see the following article...

    -----------------------…

  • 1. The Report.AllowPrintToArchive is a published property of TppReport.
    Therefore the property value is saved down with all reports. When a report
    loads the TppReport properties are updated with the values saved in the
    template.…

  • Make sure that TppReport.AllowPrintToArchive is set to True. This property
    is published so it is saved/restored each time you load a report. Therefore
    if you have existing reports you will need to use the
    TppReport.Template.OnLo…

  • Try some other tests:

    1. Use the end-user designer to build simple queries against interbase
    tables rather than views.

    2. Use the Delphi TDataSet components (TQuery or TIBQuery, etc) to open the
    views and traver…

  • Yes, the Report.OnBeforeAutoSearchDialogCreate event is available to RAP.

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



  • One solution is to use the OnBeforeAutoSearchDialog create event to
    initialize the AutoSearchFields[].SearchExpression values. You could also
    use the Report.Template.OnLoadEnd event to do this.

    Another approach would be to…

  • I just created a simple example using RB 7.04.

    1. I created an application that contains a single form.
    2. On the form I placed a Viewer and an ArchiveReader.
    3. I assigned the Viewer.Report to reference the ArchiveReader…

  • Perhaps I misunderstood the question. To clear the viewer try calling

    myViewer.Reset;



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



  • 1. One simple check I can think of is to check that the file extension is
    .raf, prior to setting the ArchiveReader.FileName property.

    2. I looked at the ArchiveReader source code. It does not contain any logic
    to check the…

  • With ReportBuilder 7.04, you can specify a subselect statement for a search
    condition. I think that is what you need.

    example:

    Select *
    from members
    where memberID not in (Select memberID from frontdeskcomm…

  • There is no performance penalty for linking. The datapipelines do not need
    to be opened when the link is created. ReportBuilder uses the linking
    information to traverse the data in a specialized manner. However,
    ReportBuilder d…

  • You could try implementing the code via a RAP pass-thru function and calling
    it from the RAP Global OnCreate event.

    --------------------------------------------------
    Article: Extending RAP
    --------------------------…

  • 1. This example shows how to link a DADE datapipeline with an external
    datapipeline:

    www.digital-metaphors.com/tips/LinkDADEPipeToStandardPipe.zip

    2. For the datapipeline linking to work, the detail dataset must be s…

  • Options:

    1. Check whether the database product you are using has a built-in function
    that can convert the date. If it does, then you could use the Query designer
    to add a calculated field to the SQL.

    2. The othe…

  • To load the report from file, try using

    if Report.Template.ShowFileOpenDialog then
    Report.Template.LoadFromFile;

    To save the report to the report explorer try using the
    TppReportExplorer.SaveReport method. Thi…

  • You could add some options to do this from the Report Explorer.

    1. One approach is to add menu items. You can do this using the
    TppReportExplorer.MergeMenu property.

    2. Another approach is to create a custom report e…

  • The About box can be replaced by registering a new one. The default dialog
    is located in ppAbout.pas. That being said, you should have something in the
    About box of your application that indicates that ReportBuilder is being
    use…

  • 1. See the tech tip below.

    2. Run the RBuilder\Demos\EndUser\ examples. The Report Explorer example
    contains a subfolder called AutoSearch with many examples of searching. You
    can also check out RBuilder\Demos\AutoSearch -…

  • You can access the Data workspace and use the Query Designer to specify the
    autosearch values that are saved down with the report.

    The intent is that the Report Designer will be used to design reports, not
    to run them. A u…

  • If you access the preview dialog from the Report Explorer, then the
    autosearch dialog will be displayed prior to the report generating.

    However, within the report designer, this does not occur because we felt it
    would be a…

  • 1. Check out the RBuilder\Demos\AutoSearch\Build Description of AutoSearch
    Settings example. You basicall can use the Report.AutoSearchDescription
    property or call Report.GetAutoSearchDescriptionLines.

    2. You can also buil…

  • Make sure that you are connecting the childreport to the datapipeline. Each
    report/childreport will traverse the datapipeline to which it is assigned.
    Each will traverse all records in the dataset from first to last.

    A rep…

  • Correct. Use the Report.OnPrintDialogClose event as I show in the
    example....

    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.…

  • It would be simpler to implement the solution as I have described.

    However, you can use the Report.OnPrintDialogClose event to do something
    like this:

    uses
    ppForms,
    ppFilDev;

    if (ppReport1.…

  • The Print dialog displays the list of registered export devices. The user is
    actually choosing a device. If you have the proper devices registered, then
    they will be displayed in the Print dialog and that is all that is required.

  • You can control which output devices are available by
    registering/uregistering the device classes.

    For an example, check out RBuilder\Source\ppFilDev.pas. The
    initialization/finalization sections. There will be similar reg…

  • Send .raf in .zip format to support@digital-metaphors.com.



    --


  • Yes, send a .RAF file.

    We can research it for future possibilities....


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



  • There is a Crosstab.Style property that can be configured to print repeated
    captions.

    Try setting Crosstab.Style to RepeatedCaption - I think that is what you
    asking...

    --
    Nard Moseley
    Digital Metapho…

  • Thanks for bringing this to our attention.

    The focus is maintained when switching between Data, Calc, Design. However,
    the focus is lost when returning from a Preview - the report is restored to
    its original state by loadi…