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

digitalmetaphors

About

Username
digitalmetaphors
Joined
Visits
51
Last Active
Roles
Administrator

Comments

  • Make sure that the RAP and DADE packages are installed. Go to Component |
    Install Packages and check that the ReportBuilder RAP and ReportBuilder Data
    Access Environment checkboxes are checked.

    --
    Cheers,

    Alexand…
  • Create a master-detail query where the detail query has all the information
    specific to each employee that needs to be printed in the subreport. The
    main report would traverse all the employess, then for every employee the
    detail quer…
  • We haven't coded any extensive demos for the TeeChart component. You might
    want to ask the Teechart forum for a more definitive answer on feeding
    label/value data to the chart at runtime instead of with a datasource (data
    pipeline).<…
  • One option is to perform the checks in the query for that particular report
    rather than in Delphi. You can create a calculated field (either one integer
    field which can take on one of three values for each of the three
    possibilities, …
  • Please look in the main reports demo project in your RBuilder\Installation.
    There is a demo which has a continued. See the demos #71-73 which have a
    "continued..." printed on the subsequent page when the record breaks over to
    another…
  • You can use the column BeforePrint event to display the appropriate text
    based on the page number. Place a label or a memo in the column header and
    implement the handler as shown:

    procedure TForm1.ppColumnHeaderBand1BeforePrint(…
  • Make your report two pass and create a subreport in the summary band which
    will hold the contents of the index. Build up the index while traversion the
    data by using the Print events. See the demo below for an example of
    creating an i…
  • Try removing the entire digital-metaphors account, not just the newsgroup,
    and re-subscribing.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • Use the PageStyle's BeforePrint event to do the assignment. For the labels
    you would set their Caption property. The image has a Picture property which
    in turn gives you LoadFromFile and LoadFromStream methods. See Dephi's help
    for TP…
  • Create a resource file and compile it with the executable. See the demo
    below for an example of customizing the preview form. Notice that the glyph
    on the print button has been changed.

    in Preview glyph Comment by digitalmetaphors May 2002
  • To print to the canvas of your own pdf component as well as to be able to
    manage the printer internally you will need to create a device wrapper for
    the component by creating a descendent of TppDevice. Each device internally
    draws to …
  • Open the teeui45.dpk and Tee45.dpk files found in the teechart source
    directory and make sure that Build Control in Options is set to Rebuild as
    Needed. If the problem persists, try to manually re-building these packages.

    --
  • There is a known issue in the left to right travrsal of the detail band for
    columnar subreports. Thankyou for your patience.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • I have not been able to reproduce the problem you are describing. Can you
    please send a sample project that shows this issue to
    support@digital-metaphors.com.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors
  • Assign the ArchiveReader's publisher to the Viewer's ScreenDevice, make a
    page request and tell the ArchiveReader to print to assigned devices. For
    example:

    ppViewer1.ScreenDevice.Publisher := ppArchiveReader1.Publisher;
  • Actually this seems to be a Delphi bug and is reproducible in regular Delphi
    calculation. That calculation produces an overflow error by the compiler
    while 30000000.0 * 100.0 and 3000000000 * 1 work fine even though they are
    the same …
  • Try this as a temporary workaround:

    if (Variable1.AsExtended - Floor(Variable1.AsExtended) <> REALLY_SMALL_REAL)
    then
    leOffSet := 0.1
    else
    leOffset := 0.0;

    Variable1.AsExtended := (Variable1.AsExten…
  • Great post, Mike. And thanks to everyone for voting. We are so busy coding
    the Server Edition that I didn't even see this post until this morning!

    Product of the Year - 4 years in a row.
    Best Reporting Tool - 4 years in a row.
  • The dialog checks for the presence of a printer before it displays since it
    uses the printer driver to measure text. If no printer is present it quits
    out. As a temporary solution, please make sure you have a printer installed
    which w…
  • There are issues with rendering transparent/translucent objects (i.e. gray)
    in NT. As Mike mentioned, if all else fails, use a shape to simulate a line.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • You can't set the font of the entire report. You need to loop through the
    objects in the report and set all the fonts individually:

    procedure AssignFontToReport(aFont: TFont; aReport: TppCustomReport);
    var
    liBand: Integer…
  • It may be something like GExperts which is causing it. One test is to
    uninstall these components and see if the problem goes away. Are you able
    to reproduce the problem in the runtime designer, or is this a Delphi design
    time only p…
  • This is not a known error. If you are able to reproduce this every time you
    might need to reinstall Delphi and RB.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • Can you send us a simple working example project in which the groups do not
    break correctly- we would like to fix it if it is a problem. Please send it
    to support@digital-metaphors.com

    Cheers,

    Jim Bennett
    Digita…
  • You have to code the OnGetText event handler of the variable and not the
    OnCalc event to set the group break value.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • Groups that are set to break on a data field break every time that data in
    the field changes. How is the data in the field value of the table on which
    you have the group set organized? One possibility is that the data might
    need to be…
  • How are you setting up breaking conditions for the groups? Please see the
    demo below for an example of breaking group on a variable value.

    http:/…
  • Can you please send a sample project that reproduces this condition to
    support@digital-metaphors.com.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • Try setting the detail band to static height if you need it to be a specific
    height. The detail band will usually flip to dynamic height when components
    are set to strech or to shift relative to each other. You can also check if
    the D…
  • There should not be a difference in whether you are using DADE in the
    designer or manually creating the Delphi dataset components. When you use
    DADE what happens behind the scenes is that those same Delphi dataset
    components are creat…