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

nardmoseley

About

Username
nardmoseley
Joined
Visits
8,378
Last Active
Roles
Administrator

Comments


  • - Should be possible from Delphi code

    - For RAP, you will need to write a custom pass-through function. See the
    following article.

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

  • - The DataPipeline.AddLink method can be used to programmatically add a
    link. Here is an example.

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

    - for the datapipeline linking to work correctly, the detail dat…

  • For most printer drivers, transparent RichText does not work in our testing.
    RB relies upon the windows RichEd.dll to render the rich text. The
    RichEd.dll communicates with the printer driver. I think long ago, we tried
    to re…

  • I re-read the original post to try to understand better.

    I am now thinking that perhaps you need to do a cartesian product on Person
    and Achievment (by cartesian product I mean a join between two tables
    without a join co…

  • - the Link dialog can be used to specify more than one field for the linking
    relationship. However, it is true that the fields must belong to the same
    master query.

    - Perhaps you need to join B to A so that you have a qu…

  • For the Report layout create a main report and subreport. In the subreport
    layout, you can connect the relevant DBText to DataPipeline rather than B

    main - A
    subreport - B
    dbText(B) dbText(C)

  • - define linking relationships from B to A and from C to B.

    - for each linking relationship you need to specify that you want the master
    records included even when no corresponding detail records exists. If you
    are using…

  • Rather than RAP var Variables, I would try using Report.Parameters[ ]

    Report.Parameters are readily accessible by Delphi code and RAP code.



    --
    Nard Moseley
    Digital Metaphors
    www.digital-metapho…

  • I was already helping you with this question via support@digital-metaphors.

    Please post to single destination - either support@digital-metaphors.com or
    the newsgroups. Please do /not/ post to more than one destination. This is…
  • Is there any way you can construct a similar statement using the DBDemos
    data or sample Interbase data, or something we could run here.


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


  • Thanks for the feedback.

    The original scope and design, did not include persisting the Undo History.
    Perhaps we can add that feature to a future release.

    Copying the report structure is probably not a viable option.…

  • It is working as designed. Prior to Preview, the report layout is saved to
    an internal memory stream and then restored upon return from Preview. (Upon
    Preview, the RAP code can run during report generation and in doing so can

  • This will be improved for the next maintenance release.

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

  • Thanks for reporting this issue, we are currently researching it. I will
    post a follow up to this thread.

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

  • - TppReport.Template can be used to save/load a report layout from a stream,
    database, or .rtm file.

    - TppReport.Template.Format determines whether report layouts are saved as
    binary or ascii

    - The primary rea…

  • I think you misunderstand.

    - At Delphi design-time configure the Report.Template.DatabaseSettings to
    bind to the rbItem DataSet via a DBPipeline. You do this by specifying the
    Report.TemplateDataSettings properties for D…

  • - one option is to the RB ReportExplorer to store the report definitions in
    a database (rbFolder and rbItems tables). This approach is shown in the
    examples and tutorials installed with the product. Check out
    RBuilder\Demos\E…

  • - can you create a simple example and email to support@digital-metpahors.com
    in zip format. That way we can see exactly what you are doing. I cannot
    determine whether you are using the preview form or a non-modal viewer on a

  • - here is an example I created that work in my testing here...

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

    - to programmatically remove the header and footer bands from a report, try
    calling m…

  • Thanks for your interest in RB.


    Here is an example of customizing menus and toolbars.

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


    Use the Layout tab of the Data Tree to c…

  • I do not understand the question. The Draw toolbar should have 4 buttons:
    FillColor, LineColor, LineThickness, and LineStyle. This toolbar is used
    primarily for shapes and lines.

    What are you trying to accomplish?
    <…

  • Configure the ReportDesigner as desired - so that all toolbars are visible.
    Then close the designer and exit Delphi. The settings will be saved to
    Windows\RBuilder.ini. Distribute that file with your application.

    --

  • I think your question is really more of a SQL question/challenge.

    Think of it this way, if you put multiple Query DataSets on a
    Form/DataModule and put SQL in each of one them, then how you can write some
    code that will …

  • Please choose a single destination to post questions.

    This same question was sent to support@digital-metaphors.com yesterday
    (2/20/2007) and I sent you a comprehensive repsonse yesterday morning.
    Please do not repost que…

  • In my news reader, I can see your post from Feb 1 and my reply. Can you see
    any of the messages prior to Feb 1?

    Try modifying the settings in your newsreader to show old messages. You can
    also try to unsubscribe and re-s…
  • - theDetailBand.BandsPerRecord property can be used to specify that you want
    to print the same record X times.

    - another common requirement is to skip some lables at the beginning,
    because the sheet is already partially used. …

  • Use the Report.Template.OnLoadEndEvent to initialize any template properties
    and event-handlers.

    For example, you could put your proprosed code in there...

    ppreport3.template.OnStartPageEvent:= ReportOnStartpage;…

  • The report composite is structure like this...

    Report.Bands[ ].Objects[ ]

    where Report.BandCount and Band.ObjectCount return the number of items in
    the respective array properties. See the CodeBased thread of the Te…

  • No other customers have reported any issues.

    What error occurs?

    Try adding RBuilder\Source to the Delphi library path and set the Delphi
    debugger to break on Language exceptions. Then run the app and see where the <…

  • - check out RBuilder\Demos\AutoSearch\Custom AutoSearch Dialog

    - as shown in the example you can create a custom AutoSearchDialog class and
    custom AutoSearchPanel classes. You AutoSearchDialog can contain logic to
    determ…