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

nicocizik

About

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

Comments

  • Hi Ralph,

    Are you using a registered version of ReportBuilder or are you using an
    application with ReportBuilder built in?

    A simple solution would be to place a TppMemo in your detail band and update
    its text based …
  • Hi Jeroen,

    Once the datapipelines have been opened, the file stream has already been
    created so it is not possible to rename the text file at that time. The
    only option would be to possibly create a pass-thru function that ac…
  • Hi Nick,

    We have many customers using thermal receipt printers successfully with the
    techniques given in the Continuous Paper article. Take a look at the
    printer settings to be sure the extra space is not caused by the printe…
  • Hi Ian,

    I believe the issue is the "word" type. Rap does not have a concept of this
    type. Try using an Integer type instead and the routine should function
    correctly.

    class function TmyWoYFunction.GetSignature: St…
  • Hi Ian,

    Try removing the "overload" keyword from the declairation of the function
    signature. Note that unless you build this into a design-time package and
    install in into the IDE, your code will only compile at runtime.
  • Hi Jan,

    There is not built-in feature to rotate an image in ReportBuilder. From
    RAP, you would need to create a pass-thru function that rotates the image in
    Delphi code. Below are a couple links I found on how this can be do…
  • Hi Jim,

    Sorry I did not see you were using Char types and I miss-used the word
    "ordinal". RAP does not have the capability of using Char values in a Case
    statement only numerical values. One option would be to implement the …
  • Hi Jim,

    The RAP case statement only accepts ordinal values similar to the way the
    Delphi case statement functions.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Case statement Comment by nicocizik February 2009
  • Hi Paul,

    Once you know which table the user would like to search on, you can easily
    change or create new autosearch criteria using the SQLBuilder class. The
    routines in this class are available in RAP and allow you easy acces…
  • Hi Lars,

    Be sure you call Report.InitializeParameters before you make a call to
    PrintToDevices. This will ensure that the GlobalOnCreate is properly fired.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
  • Hi Anthony,

    In Delphi you can use the following method to highlight a shape in a map
    series...

    Series1.Shapes.ByName['Germany'].Color := clRed;

    Unfortunately the TMapSeries.Shapes property is not currently avai…
  • Hi Maciej,

    Earlier versions of ReportBuilder (RB 7 and earlier) had a limitation where
    variable calculations in the Footer Band with a dynamic height detail band
    would not calculate correctly. This issue has been addressed fo…
  • Hi Tim,

    You are correct. The InitializeParameters event fires too late to assign
    the parameter values however it can be used to assign the search expression
    of an AutoSearch Field. There is a patch available that allows the …
  • Hi Tim,

    My guess would be that this is a timing issue. The AutoSearch Criteria has
    already been created by the time the BeforeAutoSearchDialogCreate event is
    called. Try moving your code to an earlier event such as
    OnI…
  • Hi Jeroen,

    The current best way to do this would be to create a custom autosearch
    dialog or manually change the field alias in DADE.

    Thanks for the suggestion, we will consider adding the ability to change the
    dialo…
  • Hi Gary,

    At runtime, they are set in the Designer.DatabaseSettings property, but at
    design-time they should already default to the DBDEMOS database unless they
    had been changed prior. I'll check the demo and make sure it is c…
  • Hi Gary,

    At design time, by default, the datasettings should be set to the DBDEMOS
    database. Try selecting File | Data Settings... and be sure the Session
    Type is set to BDESession and Database Name is DBDEMOS.

    -- …
  • Hi Gary,

    ReportBuilder updates previous templates when they are loaded so this should
    be the problem (and in my testing, I am able to load all templates). Are
    you able to load any other templates from the Report Explorer demo…
  • There is now a patch fixing this issue for RB 11.04. Please send an email
    to support@digital-metaphors.com if you would like the fix.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Access violation in rbRAP117.bpl Comment by nicocizik April 2009
  • Hi Ad,

    Thanks for upgrading. Please give me the exact steps I can take to recreate
    the issue and I'll try it on my machine.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Unable to load BeforePrint code for GroupFooterband1, no object with this name found Comment by nicocizik May 2009
  • Hi Ad,

    Which version of ReportBuilder and Delphi are you using? Does this happen
    with every report template you load or just certain templates with the
    GroupFooterBand.BeforePrint event implemented. How often does it occur, …
  • Hi David,

    The email feature in ReportBuilder is not designed to send email without at
    least the report as an attachment and is also not designed to display the
    report as the body of the message.
    I can expose the EmailSett…
  • Hi Stuart,

    In the OnCalc of Variable2, update the value of a different variable located
    in the footer band.

    Variable3.Value := Variable3.Value + Value;

    --
    Regards,

    Nico Cizik
    Digital Metap…
  • I'm going to need more information on the steps you are taking. In my
    tests, the code below works as expected in both events.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Switching stationary on/off Comment by nicocizik May 2009
  • Hi Jerri,

    I see now. The event is causing the issue. Try using a different event
    such as the OnPrintDialogClose or OnStartPage.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Switching stationary on/off Comment by nicocizik May 2009
  • Hi Jerri,

    Just to be clear, this issue has been resolved, correct? My suggestion
    about posting to the RAP newsgroup was for future reference
  • Hi Steve,

    TextWidth(ReportObject: TppCustomReport;Const S ; String) : Real;

    Rather than send the entire report object, you might try just sending the
    report units being used...

    TextWidth(ReportUnits: TppUnitTyp…
  • Hi Steve,

    One option is to alter your pass-thru function signature to include the
    report as a parameter. This will ensure that the routine always has access
    to the current report.

    --
    Regards,

    Nico …
  • Hi Anton,

    In my quick testing I'm unable to recreate this behavior in RAP. If
    possible, please send a simple example that I can run on my machine in .zip
    format to support@digital-metaphors.com and I'll take a look at it for …
  • Hi John,

    This was not a known issue with RB 7.04. In my testing with the latest
    version of ReportBuilder, the RAP code you have below seems to work
    correctly. You might try working around the issue by using boolean
    var…