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

nicocizik

About

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

Comments

  • Hi Tom,

    You can do so using a two pass report and TppVariables with the lookahead
    property set to true. Below is an example that should get you on the right
    track. If you need an example in RAP, let me know.

  • Hi Paul,

    When you log in as the DBA, are you going to need access to all 8000 tables
    when you run ReportBuiler? If not, you could perhaps create a
    DataDictionary component that filters out the tables you will be using. The
  • Hi Bob,

    After a long discussion with another engineer, we concluded that we should
    perhaps take another approach to this issue. I created an example that
    basically shows how you should go about this. You can see in the example…
  • Hi Bob,

    Check out the ReportBuilder source in the daQueryDataView.pas file. In the
    method TdaQueryDataView.CreateCriteriaForAutoSearchField, you can see some
    code that is similar to what you are going to have to do. Below is t…
  • Hi David,

    I would suggest trying the second method I described. If you just set the
    visibility of the group to False and be sure that Group.KeepTogether and
    Group.NewPage are set to False, the group should appear to be disabled…
  • Hi David,

    Were are you executing the code below? You may need to call Report.Reset
    before after you change the group settings. You may also want to simply set
    the group's NewPage and KeepTogether properties to False and then t…
  • Hi Bill,

    Try downloading the example again. I changed it to move the label based on
    the text width, not the control box. This seems to work around the autosize
    issue.

    in Moving Labels Comment by nicocizik October 2003
  • Hi Bill,

    I created a small app to test this and it seemed to work correctly. Below
    is a link to the test application I created to test with. Let me know if
    you get different results than I do.

    in Moving Labels Comment by nicocizik October 2003
  • Hi Bill,

    Please send an example with the code you use to try to move the label in
    .zip format to support@digital-metaphors.com and I'll take a look at it for
    you.

    --
  • Hi Bill,

    You need to use the Band.OnBeforePrint event to move labels around rather
    than the Label.OnPrint. This should change the results you are getting.

    --
  • Hi Bill,

    Try using a diferent printer and see if your results change. This behavior
    is probably due to either your printer not supporting this type of pattern
    or your printer driver is not acknowledging the dotted line API comm…
  • Hi Regine,

    Try this in the FooterBand.BeforePrint event.

    if Report.AbsolutePageNo = 1 then
    FooterBand.Height := 5
    else
    FooterBand.Height := 1;

    --
  • Hi Regine,

    The Footer band has a static height by definition. I would suggest trying
    to use a GroupFooter band and aligning it to the bottom of each page so you
    get the illusion of a page footer. Below is an example of how to …
  • Hi Jon,

    Check out the SkipWhenNoData property of your detail datapipeline. Setting
    this to true should prevent the records from printing when the master field
    is empty.

    --
  • The "tips" directory is generally used to provide users of the newsgroups a
    way to download examples that we create specifically for them. Most of the
    examples located in Tips are customized for a specific user or a specific
    question…
  • Hi Morten,

    The FindUserObjectInComponent method is primarily used as an internal
    function. You are however welcome to try to get it to work with your
    application. The problem I see is that you are passing the DetailBand
    o…
  • Hi Neil,

    Jon is correct, you can set the tab stops of a TppMemo using the
    TppMemo.TabStopPositions TStringList. Here you can define each tab stop
    position for a line in a memo.

    --
  • Hi Charles,

    We have never heard of this error. As a first step, take ReportBuilder out
    of the equation and try to load your dataset just using Delphi components.
    If you are able to do this without seeing the error, please send …
  • Hi Kedar,

    It is possible to combine two components into one using TppVariables, then
    adding static space between them. You can also set the TppLabel.Left
    property equal to another label's Left + Width property with an added sta…
  • Hello,

    If you have ReportBuilder 7.03, send an email to
    support@digital-metaphors.com requesting the patch and we'll send it right
    out.

    --
  • A small example demonstrating this behavior would be very helpful. Please
    send it in .zip format to support@digital-metaphors.com and I'll take a
    look.

    --
  • Which version of ReportBuilder are you using? I tried your exact code below
    with RB 7.03 and it seemed to work correctly. As a test try disabling all
    your event handlers and seeing if it works then. Next try downloading a
    trial cop…
  • Hi Sharon,

    You will need to use two TppVariables to accomplish this. Place one
    Variable in the detail band with your data and one where you would like to
    display your count. In the first variable's OnCalc event you will need t…
  • Hi Dan,

    I found this in the Delphi help and it tested correctly in ReportBuilder.
    Hope this helps.

    DisplayFormat:

    Scientific notation. If any of the strings "E+", "E-", "e+", or "e-" are
    contained in the fo…
  • Hi Pat,

    The reason you are not getting the new report is probably due to the fact
    that you are not regenerating a new report before calling the
    Designer.ShowModal. ReportBuilder was not necessarily designed to work this
    wa…
  • Hi Fernando,

    You should be able to accomplish this by creating your report with columns
    and setting them to traverse left to right by setting the
    DetailBand.ColumnTraversal to ctLeftToRight. Below is an example of how you
  • Hi Zoran,

    I am not aware of any third party memo tools that provide memos, however you
    might want to check out WPTools (http://www.wptools.de). This is a rich
    text tool that c…
  • Hi Klaus,

    Which version of ReportBuilder are you using? The TemplateChanged method
    was discontinued after ReportBuilder 3. Now, calling Report.Reset will
    accomplish the same task. This will notify report engine that the templ…
  • Hi Arnaud,

    Sorry, I was unaware of the French translation for a TppDPTeeChart
    component. The reason you are seeing the iEditCha error is that TeeMach
    does not provide their source with the built-in version of TeeChart that is
  • Hi Arnaud,

    Check to see that the TppDesigner.ShowComponents has scDBImage set to True.
    This is a published property and can be accessed through the Delphi Object
    Inspector.

    --