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

    Thanks for the feedback. I will take a look at this and possibly have it
    re-worded for a later release.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Changing the Font of a DBRichtext Comment by nicocizik January 2007
  • Hi Walter,

    Sorry, yes you will need to create a pass-thru function to access the
    various properties of the TTextAttributes object. In your message below you
    mention that you already do this. Is this not working or are you re…
  • Hi Walter,

    In order to change the text attributes of a richtext component, you will
    need to use the TppRichText properties SelText, SelLength, SelStart to
    define the text to be altered, then assign the attrubutes using the
  • Hi Max,

    Take a look at the following example. This example is not coded in RAP
    however there should be no problem moving the code to RAP if you need.

    in Printing "Continue" on first page of a group Comment by nicocizik January 2007
  • Hi Tim,

    This should be possible however it looks like the TppMatrix properties are
    not natively available in RAP. One option would be to create a RAP passthru
    function to access the Matrix.Value property outside of RAP. See …
  • Hi Chris,

    Are you able to get the PrinterEscapeCommands example to work correctly in
    Delphi? If so, try tracing through that code to be sure that all the same
    code is being properly fired at the correct time when you move it …
  • Hi Chris,

    Inside the DetailBand.BeforPrint event, you can toggle the visibility of the
    entire detail band based on a single condition. Another way would be to
    place all your DBTexts inside a TppRegion and toggle the visibilit…
  • Hi Jeroen,

    Ah, yes I did misread your post. It looks as though it does not cause an
    error just as long as the descendent is the same. I suppose Delphi is
    letting us get away with something there.

    I'm not sure why …
  • Hi Jeroen,

    I'm glad you got it working. I'm unsure why you are getting a compile error
    when using the example. It seems to work correctly for me. The signature
    for the pass-thru function asks for a TppDrawCommand object so …
  • Hi Jeroen,

    I created a small example that does this in RAP for you. It looks like you
    need to add TdaSQLBuilder.ApplyUpdates before you free the object, and you
    need to set the RedrawPage property in the pass-thru function. …
  • Hi Jeroen,

    Sorry, I failed to give you the entire solution.

    You will need to reset the report and report engine before setting the
    RedrawPage property to true. Unfortunately I do not believe the reset
    routine is na…
  • Hi Jeroen,

    Try setting the RedrawPage property of the drawcommand to True. This is how
    ReportBuilder refreshes the data after an AutoSearch value is entered.

    uses
    ppDevice;

    TppDrawCommand(aDrawCommand).…
  • Hi Max,

    This may be too early to access the group. I would suggest you try getting
    this working first in Delphi, using various events, then try to move the
    code to RAP.

    --
    Regards,

    Nico Cizik
  • Hi Josip,

    Take a look at the following example of resizing the font based on the space
    available.

    http://www.digital-metaphors.com/tips/AutoF…
  • Hi Josip,

    Which event are you altering the size of the label? This will need to be
    done before the component has generated to see the results. Also if you are
    loading templates, you need to be sure the autosize property fo t…
  • Hi Jeroen,

    Typecasting in RAP is very limited and in some cases very difficult to work
    with. We are constantly working to improve the way they are handled but due
    to some possible early design flaws, it is an ongoing struggle…
  • Hi Avi,

    Are the correct characters displaying when you create the report and preview
    it?

    An archive file stores all the draw command informtion down then recreates
    the exact drawcommands when you view it using the a…
  • Hi Jorge,

    My first suggestion would be to upgrade your version of ReportBuilder to RB
    7.04 and see if the problem still occurs. If so, set your library path to
    RBuilder\Source and see if you are able to trace into the RBuilde…
  • Hi Michael,

    My first suggestion would be to upgrade to RB 9.03 and see if that fixes the
    issue. Contact info@digital-metaphors.com with your serial number and
    purchasing email for upgrade instructions.

    If that does…
  • Hi Michael,

    Which version of ReportBuilder/Delphi are you using? In my testing with RB
    10.06 and Delphi 2007 it is working correctly.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Change TmyDBCheckBox.Style in RAP code Comment by nicocizik April 2007
  • Hi Michael,

    Yes it is possible to change the style property of the checkbox in RAP. Try
    using the Band.BeforePrint event of the band that the checkbox is located to
    change the style property.

    if (some condition)
  • Hi Don,

    1. If you would like you can set the visibility of the entire band to
    False, or, you can place all your components inside a TppRegion and toggle
    the visibility of that to make the process easier.

    2. Be sur…
  • Hi Bill,

    Yes, you can create global variables in RAP inside the Module View of the
    component tree at the top left of the code tab. Take a look at demos 21-23
    in the main RAP demo located in the \RBuilder\Demos\0. RAP\... dire…
  • Hi Joseph,

    The size of each cell in a crosstab is automatically determined by the size
    of the text inside the cell. This is currently something that cannot be
    modified and is something that we have on our todo list as an enha…
  • Hi Chris,

    There is currently no way to add a button to the toolbars at runtime. One
    option would be to create a custom preview plugin and hide or show the
    custom buttons based on a certain condition at runtime. This would mo…
  • Hi Chris,

    PassThru functions in RAP are similar to stand-alone rountines in Delphi as
    in they only have the parameters passed to them and any global parameters
    declaired in the file available to them. Adding a parameter to re…
  • Hi Chris,

    Are there any specific issues you are having with recompiling your thrid
    party apps? There were not that many changes made to the source and
    definitely no major changes of any kind.

    --
    Regards,
  • Hi Chris,

    1. Be sure you are using the latest version of ReportBuilder 10.06.

    2. Instead of using the OnPrint event of the RichText object, try using the
    OnMailMerge event when altering mailmerged text.

    --
  • Hi Chris,

    Yes, the datadictionary can be used without the report explorer. It is
    designed to be used with the end-user designer and DADE to give your users a
    more understandable definition of each field available to create a …
  • Hi Chris,

    You should be able to accomplish all of this using the DataDictionary. This
    allows you to define (translate) all the field aliases ReportBuilder and
    DADE will use however the SQL code will still remain the same.