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

  • What is the user's requirements? Can this report run in a timed process at
    3 am? It could be written to Archive file and then the users can use the
    ArchiveReader component to instantaneously preview and print the report
    because the …
  • There is a different driver for Win95 and Win2000. Download the latest
    printer driver for the Win95 machine.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Here is a demo to download which does this with a pipeline on a form, but
    this same approach will work with RAP and DADE:

    http://www.digital-metaphors.co…
  • You'll need to extract the TdaSQL object to get at the search criteria. Then
    set the AutoSearch boolean property to false on that criteria object. Is
    this what you mean?

    procedure TmyDadeManipulator.ChangeCriteria(aSQL: TdaSQL; …
  • You can reorder the search criteria.

    I did something similar before with order by fields on a sql object. There
    is a TdaSql.ClearCriteria method to free the criteria fields.

    procedure TmyDaSQLManipulator.ReverseOrderBy(aS…
  • I'm using InfoPower 2000 on D5 and RB5.56, Win2000.

    I successfully included our ppWWRichEd in the project and without. Also,
    you said that you couldn't place a TwwDBRichEd on the form and run the
    project? I was able to do all …
  • What version of Delphi/Windows/RB are you using? When does the error occur?
    Could you provide some more information? Is this a reproduceable error?
    Did you get any AV's during your current session, before this error showed
    up? This …
  • From RB 4.21, there have been quite a few major enhancements. Here's quick
    rundown:

    What's New for 6.0

    DADE Support for dbExpress
    RBuilder.ini Enhancements


    What's New for 5.5

    DataView L…
  • What version of Delphi do you have? Perhaps you can upgrade your version of
    RB.

    We don't have any patches available for 4.21.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • See the CodeBased thread in the TechTips newsgroup. There is a 'Report
    Object Loop' article. You can loop through the objects in the report
    looking for TppSubreport components. Of course, then what if a subreport
    has subreports, yo…
  • Check to see if it connected to the data pipeline and data field. Verify
    its Visible property = True. Do you know exactly which version of RB the
    template was created from?


    Cheers,

    Jim Bennett
    Digital Met…
  • I'm not sure what your data is like, but here's my interpretation:

    You could dynamically create TppDBImage and TppLabel components based on a
    query, and put them all in the detail band. Basically, you need one big
    detail band t…
  • Demo #124 in the installed main reports demo project shows how to print a
    selected number of pages.

    look in the code for demo 124 and the Report.BeforePrint event:

    {print pages 1 and 30 }
    ppTextToPageList(…
  • Is there a default printer assigned? With RB 6.0 you can specify a Screen as
    a default PrinterName in the printer setup, since RB would AV when no
    printer device context was available. You may want to upgrade to RB 6. We
    now offer RB…
  • If the image prints one minute and not the next, on the printer, then I
    would tend to believe that there is a re-initialization problem in your code
    for the TppImage size or maybe when setting the margins, columns or the
    detail band h…
  • Thanks, for reporting the issue. I do get the AV following your 8 steps.
    We'll look into this.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Can't do it for an archived file. The archive is made up of draw commands
    for each page. There is no data associated with it, (the advantage of
    archiving), so the pages can't be regenerated. To get this to work, the
    pages have to be…
  • I've sent you the correct engine pas file via email. You'll need to include
    this in your project instead of using the ppEngine.dcu that is located in
    ../RBuilder/Lib/


    Cheers,

    Jim Bennett
    Digital Metaphors<…
  • Somehow this fix didn't get built into the release. We'll build a new
    version and notify everyone to download the latest when it is ready.

    Cheers,

    Jim Bennett
    Digital Metaphors


  • We've just fixed NoDataBehaviors yesterday. For other fixes we've had in the
    past few days, we've uploaded a new version of RB6. Download RB6 for D4
    again. The link and password should be the same as before.


    Cheers,
  • I copied your code straight into a new unit in a new project.

    Running from Delphi, the exception is shown because Delphi debugging is on.
    However, when running the exe outside of Delphi, no exception is shown and
    it previews fin…
  • Most printers have an unprintable area along the border of the page. Some
    are 0.25 inches, some are more and some are less. Increasing the margins a
    little on the report should help correct the problem.


    Cheers,

  • You need to build with runtime packages because all of the units for
    TeeChart aren't supplied with Delphi6. When TeeChart is released for D6,
    then you can purchase it and you won't have to build with run time packages
    anymore.
    <…
  • If you could come up with a TeeTree wrapper that would be cool.

    ReportBuilder can print bitmaps and metafiles. You could save your tree as
    an image and load it into a TppImage.


    Cheers,

    Jim Bennett
    Di…
  • I would suggest upgrading from Delphi 3 if possible. If you think you have
    too much information on a form, then you could reduce the size of it by
    saving the reports as templates. Then dynamically load the subreports at
    runtime.
  • There is a demo of doing this in RB for D4 and D5. However, it may need to
    be converted to be used in RB4.23 for D3. The demo reorders the page
    objects.

    in Page Changing Comment by digitalmetaphors July 2001
  • I haven't heard of that happening before. Are you using RB5.56 for D4 or
    D5?


    Cheers,

    Jim Bennett
    Digital Metaphors


  • A detailband that can't be set to DynamicHeight? That shouldn't be possible.
    Is this Delphi design-time only, or run-time only? Send a demo report to
    support@digital-metaphors.com which shows this behavior.


    Cheers,
    <…
  • With RB 6, I placed a bunch of labels and spaced them horizontally. I
    checked all of their left values and they were evenly divided between the
    leftmost and rightmost label's left positions. I like this behavior and it
    is useful, howe…
  • I don't believe the code has changed in the designer for the horizontal
    spacing action. I see that the gap between each element is different when
    they are spaced horizontally. All of the elements in the selection should be
    spaced even…