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

  • Hello,

    If you are using Fixed style subreports, try setting the TraverseAllData
    property to True. This will allow the rest of the data to print ont the
    next page. Other than that, ther is no reason your data should not be
  • Hi David,

    I'm unclear what you would like your report to look like. If you size a
    memo component to have the height of one line and the width of 10
    characters, you will not see the wrapped text unless you have the
    TppMemo.…
  • Hi Rob,

    Although it is probably not a good idea to change the group breaking
    variable while the report is generating, you can try changing the
    TppGroup.BreakName and TppGroup.BreakType to do so. This may however end up
    con…
  • Hi Sergio,

    Printing to Dot Matrix printers can be very tricky. Be sure you have the
    correct page size defined in your printersetup. Also be sure you have the
    latest printer driver installed for your printer.

    -------…
  • Hi Jon,

    Unfortunately there is no built in way to syncronize all the fields and
    tables automatically at runtime. As a workaround, take a look at the
    TdaDDFieldPage.SynchronizeItems and TdaDDTablePage.SynchronizeItems methods.
  • Hannes,

    Unfortunately if you change any of the Interface sections of the
    ReportBuilder source, RAP will then become useless because we do not include
    the RAP source. We have had no issues with AutoSearch and Operating System
  • Hi Andrew,

    If possible, please send a example of this in .zip format to
    support@digital-metaphors.com.

    --
  • Hi Werner,

    Child and Fixed Subreports are generated using the main report's printer
    setup and page settings. This is because they do not act as their own
    separate report like Section style subreports do. If you need to keep th…
  • Hi Bill,

    Is your user able to print to paper successfully? You might try using
    printing to PDF using a different machine (different OS) and see if that
    helps. It sounds like there could be a resource leak somewhere causing thi…
  • Hi Stefanos,

    This is a limitation of the ReportBuilder engine. Calculating a sum inside
    the page footer with a dynamic detail band across pages causes this
    behavior. The only workaround for this issue is to use TppVariables in…
  • Hi Daniel,

    Yes, the reports should work correctly if they are just opened from a
    template on a database. You should have your users re-save their templates
    back to the database once they have been opened successfully. This wil…
  • Hi Daniel,

    The change should be rather painless because RB 7 will convert all your .rtm
    files automatically once you load and save them for the first time. Before
    updating to the new version, be sure to back up all your old rep…
  • Hi SeHun,

    Try using a TppShape and adjust the Brush.Style property. This seemed to
    work correctly in RB 7.03.

    --
  • Hi Joe,

    Sorry, there is no documentation like this available. The JITPipeline
    however is the simplest of the DataPipelines so it should be pretty easy to
    see how it is reacting to your code. The JIT pipeline works kind of like…
  • Hi Daniel,

    If you would not like the Data tab to show up, you need to remove "daIDE"
    from your uses clause. See the article below for more information on
    controlling the end-user environment.

    ------------------------…
  • Hi Rob,

    Be sure you have the DetailBand.PrintHeight set to phDynamic. This will
    make the band snap to the correct size depending on the visible components
    present.

    --
  • Hi Rob,

    Inside the DetailBand.BeforePrint event, you could check if the memo field
    has a value and toggle the visibility of the DBMemo component accordingly.

    --
  • Hi SeHun,

    You can use the device specific events to control a report as it is sent to
    different devices. For instance if you want to change your report only when
    it is sent to the printer device, you could connect the TppDevice…
  • Hi Paul,

    After further research, it looks as though setting the detail band's
    visibility to False will not work for the Skip Labels example. The example
    relies on the DetailBand.Count property to increment to work correctly yet…
  • Hi Paul,

    Which event are you setting the DetailBand.Visible := False? You are going
    to want to use the DetalBand.BeforePrint event to check a condition and set
    the visible property. If you are already doing this, please send a…
  • Hi George,

    Glad you got it working... thanks for the feedback.

    --
  • Hi Dayna,

    Receiving the Canvas does not Allow Printing error usually means one of two
    things. There is either a problem with your specific printer driver or
    graphics driver. Since the report works correctly on two other operat…
  • Hi Neil,

    If you have each set of lines separated out, it should be relatively easy to
    simply load the text from your dataset into a memo object using the
    DetailBand.BeforePrint event. Either that or you could connect your
  • Hi Neil,

    Placing the appropriate memo lines inside an in-memory dataset would
    definitely give you the greatest chances of success in creating a report
    like this one. Otherwise you would have to calculate the individual line
  • Kumar,

    The page footer band is the only band that cannot be positioned or
    stretched. You will need to use a group footer band or the summary band to
    get this effect. See the following example for more information on how you
  • Hi Rob,

    The TppVariable will only extend downward if an acutal wordwrap occurs and
    AutoSize is set to False, it will not stretch when a line feed symbol is
    encountered. Try using a TppMemo object instead of a variable with Stre…
  • Hi Brad,

    This is correct. The FormatMaskText method is generally used to format
    Strings... like 1234567890 to (123) 456-7890. I think your best option in
    this case would be to convert your string value to a number before
  • FormatMaskText is a Delphi String Formatting routine. Full documentation on
    how to use it is in the Delphi help file. You should not have to change any
    ReportBuilder source to get the output you need, but if you do run into a
    limita…
  • Hi Brad,

    ReportBuilder uses the FormatMaskText method to format any text you have in
    your report. There may be a way you can tweek your display format to allow
    numerical formatting (I believe using 9's instead of 0's) in your t…
  • Hi Jamie,

    Perhaps in the OnGlobalCreate event in RAP you will need to create a
    passthru function that extracts the SQL object out of your dataset, changes
    it, and inserts it back. I have never tried this so you may need to test…