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

nicocizik

About

Username
nicocizik
Joined
Visits
2,418
Last Active
Roles
Administrator
Company Name
Digital Metaphors Corporation

Comments

  • Hi Yelena,

    Be sure you have the correct datatype selected for Variable2. The event
    code in the OnCalc event of Variable1 should look something like the
    following (in RAP).

    procedure Variable1OnCalc(var Value: Variant…
  • Hi Jairzinhio,

    The exception you are receiving is not a ReportBuilder exception. Double
    check to be sure the connection to your database is in fact open. You may
    want to take a look at the following example of converting binar…
  • Hi Shanil,

    ReportBuilder will traverse through all the given data as the report is
    generated. If you would like to limit the data the report prints, check out
    the AutoSearch capabilities of ReportBuilder. As far as trying to s…
  • Hi Kevin,

    There are no known issues like this one in ReportBuilder. In my testing, I
    placed a label on the left margin and assigned the
    Report.PrinterSetup.MarginLeft to 1.0 just before calling Report.Print.
    This moved the…
  • Hi Dan,

    I'm unclear about why this must be done in the end-user environment. Are
    you using a version of ReportBuilder that has been included with another
    application? As you can see from the example I gave below, it is very ea…
  • Dan,

    Unfortunately there is no way to do this from the end-user environment. It
    may be possible to load the image contained in a DBImage component to a
    TppImage component, but this would require some Delphi code as well.
    <…
  • Hi Yelena,

    Sorry, the Autosize feature for the DBImage will be added in the next
    release of ReportBuilder. You can load an image into a normal TppImage
    component from database using the GetFieldAsPicture method of the
    data…
  • Hi Natalia,

    Which export utility are you using? (i.e. Waler, Gnostice, Pragnaan).
    Usually the support crew for each of these companies gets out on these
    newsgroups to help their users fairly quickly but if you need a quicker
  • Hi Alex,

    Try calling TppReport.PrintToDevices rather than TppReport.Print when just
    trying to view the report on a separate TppViewer.

    --
  • Hi Yossi,

    What type of "problems" are you having when trying to compile a descendent
    of the TppReport component? Descending from this class should not be a
    problem.

    --
  • Hi Ian,

    Looking at the source, the only reason this event would not fire is if the
    GroupHeaderBand is not visible. the BeforeGroupBreak event relies on the
    GroupHeaderBeforePrint event to fire correctly. Likewise the
    Afte…
  • Hi,

    --------------------------------------------
    Article: Troubleshooting Lost Event Handlers
    --------------------------------------------

    Let's assume you have created a report in Delphi and assign an event
    hand…
  • Hi Simonas,

    Which version of ReportBuilder/Delphi/Windows are you using? Also, which
    type of database connectivity are you currently using? If you set your
    debugger to break on exceptions, are you able to trace into the RB cod…
  • Hi Johnnie,

    Usually when the preview output does not match the printed output, there is
    some event code somewhere causing the problem. As a test, try commenting
    out all your event code and rerunning the report. If this shows t…
  • Hi Mike,

    When you use the report designer at Delphi design time, ReportBuilder will
    automatically save your settings down as the rbuilder.ini file. This, you
    do not have control over. The only time the IniSettings are taken in…
  • Hi Peter,

    The Designer does not create the .ini file as it is created. The
    TppDesignerWindow.SaveStateInfo is called from the InternalClose procedure,
    meaning that a new .ini file will not be created until you close the
    de…
  • Hi Mike,

    The .ini information has the ability to be stored in the Windows Registery
    instead of a file for this very reason. To change this option, you will
    simply need to change the Designer.IniStorageType property to Registery…
  • Hi Yannis,

    This bug has been addressed in ReportBuilder 7.04. Please upgrade to the
    latest version.

    --
  • For future reference, please do not post atachements to the newsgroups.
    This question is being handled through email.

    --
  • Hi Yelena,

    Please create a simple example or alter the one I posted so that it
    recreates the behavior you are experiencing and send it in .zip format to
    support@digital-metaphors.com.

    --
  • Hi Yelena,

    Sorry, in your previous post you gave the code in the OnCalc event of one of
    your variables so I assumed this was the same code. I'm unsure why you are
    experiencing this behavior and I am unable to recreate it on my …
  • Yelena,

    Please check my answer to your previous question... it seems like the same
    issue. When you place a Variable inside a subreport and use its OnCalc
    event to update another variable in the main report you will need to crea…
  • Hi William,

    I am unable to recreate this behavior using ReportBuilder 7.04. I set my
    device type to ArchiveFile, AllowPrintToArchive to True and ShowPrintDialog
    to False. Then setting the PrinterSetup.Copies to 2 still only cr…
  • Hi Regine,

    Unfortunately the SystemVariable component cannot be customized in this way.
    I would suggest using a TppVariable instead and changing its value and
    visibility accordingly. See the example code below...

    pro…
  • Hi Regine,

    There are a couple ways you could go about this. Try creating a group
    around the "Area" field and setting the DBCalc.ResetGroup to that group. If
    you leave the group header and footer at the minimum vertical size, y…
  • Hi Arnaud,

    -------------------------------------------------
    Tech Tip: How to modify the DatabaseName stored
    with a DADE Query
    -------------------------------------------------

    Currently when DADE is us…
  • Hi Petter,

    Unfortunately, you cannot run two versions of ReportBuilder with the same
    version of Delphi. If you would like to try RB Professional you will first
    need to uninstall RB Standard from your computer. Please be sure y…
  • Hi Regine,

    You are going to want to use the PageStyle band. All report objects
    contained in this band will print behind the main report components giving a
    watermark effect. To enable the PageStyle band, select the Report | Pa…
  • Hi Kei,

    With your label set to Autosize, the width of the control is not calculated
    until the text is printed. Setting the left offset of the line in the
    Band.BeforePrint is too early. You will need to get the text in the
  • Hi Rodger,

    There is no built in way to force the group footer to print on every page
    the group spans across pages. You will need to either use the Page Footer
    Band or do something like the following example that prints a virtua…