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 Ferdy,

    Which version of ReportBuilder/Delphi are you using. In my quick testing
    with RB 10.04 and Delphi 7, the OnPreviewFormCreate and OnPreviewFormClose
    fired as expected. I used the following code to make the test.
  • Hi Gary,

    For future reference, please send all attachments to
    support@digital-metaphors.com.

    I apoligize, instead of using the OnCreateComponent to free the component,
    try using the OnValidateComponent event to set …
  • Hi Gary,

    Try freeing the component if the dialog is canceled inside the
    OnCreateComponent event. In my quick testing this prevented the component
    from ever being added to the designer workspace.

    --
    Regards,
  • Hi Everett,

    For future reference, please send all attachments to
    support@digital-metaphors.com.

    1. Try upgrading to RB 10.04 and see if that changes the behavior. For
    upgrade instructions, please contact info@digi…
  • Hi Everett,

    Try setting the Report.CachePages property to True and see if that solves
    the problem.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Problem With A "Variable" component and it's timing Comment by nicocizik November 2006
  • Hi Jason,

    I'm a bit unclear about how your report is designed. I would recommend
    placing all your richtext boxes inside one region which has its Stretch
    property set to True. Then set each richtext component to ShiftRelative…
  • Hi Everett,

    This is most likely a drill down report. It is not possible to show the
    effects of a drill down report in the designer. The buttons you see to
    expand all or collapse all are not built in to ReportBuilder. They w…
  • Hi Colton,

    I'm a bit unclear about what you are trying to do. It is possible to change
    the value of an element inside a row however the crosstab component will
    only traverse the data you give it. It is possible to change the…
  • Hi Sergey,

    If you take a look at what the PrinterSetup.BinNames[i] is returning, how
    does it differ from what the actual bin name is? You might try taking a
    look at the PrinterSetup.PrinterInfo.Capabilities.Bins property. Th…
  • Hi Sergey,

    In my quick testing with the code below, I was able to print the last page
    of a report from a separate bin of my printer. Is there something different
    about your application's setup?

    procedure TForm1.Pri…
  • Hi Sergey,

    Yes, this may have something to do with the Russian names. If you trace
    into this code, what type of names is the BinNames[] property returning or
    is it returning anything at all? You might try using the
    Rep…
  • Hi Sergey,

    Yes, the name will need to be exact for the proper bin to be used. One way
    to handle this is to use the PrinterSetup.BinNames property to access the
    names of the bins available.

    TppPage(aPage).PrinterSet…
  • Hi Sergey,

    It is possible to control the bin name from RAP using the
    Report.PrinterSetup.BinName. This will only be taken into account before
    the report is printed. If you would like to only print a single page to a
    se…
  • This question has been answered in the Dade newsgroup. Please do not
    crosspost.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaph…
  • Hi Gustavo,

    The MailMerge feature is part of the TppRichText component. Take a look at
    the TppRichText.MailMerge topic in the RBuilder.hlp for a complete
    discription and example of using the feature. See the article below on…
  • Hi Ennio,

    The datapipeline itself does not contain any data, it is simply a link or
    "pipeline" to the data in your datasource which it traverses for you. If
    you would like your data sorted in a certain way, I would recommend …
  • Hi Frank,

    Inside the OnPrintDialogClose, you can check the Report.PrintDialog property
    to see the name of the printer the user has selected. It is also possible
    to implement the OnPageReceive of the printer device and check t…
  • Hi Frank,

    One option would be to set the ShowPrintDialog property of the second and
    third reports to False and assign the PrinterSetup from the first report to
    each of them before you print. This would print the second and th…
  • Hi Ennio,

    In this case, try placing the image inside the PageStyle band of the report.
    This will print the image behind all other components of the report. To
    activate the PageStyle, select Page Style from the Report menu in …
  • Hi Ennio,

    If you would like the image to print on the second page of the report, you
    can try adding a section style subreport to the main report and add the
    image to the subreport's design. You can also try simply adding the …
  • Hi Hiram,

    ReportBuilder 10.04 for Delphi 2006 natively supports TeeChart 7.08. This
    is very confusing because Steema has only released TeeChart 7.08 for Delphi
    2006 and there is not a different download link. Try downloading…
  • Hi Ian,

    If possible, please construct a minimal example of this behavior that I can
    run on my machine and send it in .zip format to
    support@digital-metaphors.com so I can take a look at it.

    --
    Regards,
  • Hi Ian,

    In my testing with your specifications below, ReportBuilder 10.04 and Delphi
    2006, I was unable to recreate the behavior you describe.

    Are you seeing this at design time or runtime? Please provide the exact
  • Hi Dipak,

    When making calculations, be sure to only use the OnCalc event of a
    TppVariable. This is the only event that will fire once base on the timing
    you define.

    -------------------------------------------------…
  • Hi Mark,

    Sorry for not responding, I must have lost track of this thread.

    If the OnComponentCreate event fires too late to make this change, it may
    not be possible to work around this issue with an event. One option may …
  • Hi Mark,

    This is not a feature of the Data Tree. It is currently up to the user to
    know which type of image is being used and assign the GraphicType
    accordingly. It is also possible to completely replace the Data Tree if you…
  • Hi Leonardo,

    If you know the graphic type of each record, all you should need to do is
    check this value before the image prints and change the GraphicType property
    accordingly. The DetailBand.BeforePrint event would be an ide…
  • Hi Leonardo,

    When and where are you trying to set the GraphicType of the DBImage? The
    GraphicType can be set at runtime using the popup menu or object inspector
    in the designer or at runtime before the image is printed using …
  • Hi Colton,

    My guess is that you need to check the value of aValue before you alter it.
    The purpose of this event is to take the calculated value and perform more
    calculations or completely ignore the built-in calculations and …
  • Hi Colton,

    Try tracing your code and see if the data for lValue, lSexValue, etc. are
    actually changing for each record the crosstab is traversing. Also, be sure
    the boolean to string conversion is being properly utilized.