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

nicocizik

About

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

Comments

  • Hi Felix,

    A RAF file that shows the issue could help, although a working report with sample data would be better. A smaller representation of your large report would make the process of finding the issue much easier.
  • Hi Felix,

    This is not a known issue.

    Which version of ReportBuilder and Delphi are you using?

    Are you able to recreate this with a smaller dataset? If so, please create a simple example using only RB and Delphi comp…
  • Hi Robert,

    By default (for new reports) the RBuilder.ini file is saved in the Local AppData directory which is not restricted. C:\Users\\AppData\Local\RBuilder

    If you are using an older application that still saves to the syst…
  • Hi Dag,

    Great! Glad you got it solved.

    If you have any other issue or this problem arises again, please contact us with a simple example and we'll continue researching what is happening.
  • Hi Dag,

    I'm still a bit unclear about how your report is designed. In your initial post, you mention that you have at least 2 subreports (one nested) in your detail band.

    Which pipelines are these subreports connected to?
  • Hi Dag,

    This is not a known issue with RB 22.

    How are you linking your datasets? Delphi query linking (i.e. "where MyTable.Field = :Value"), can be slow to process due to the fact that it refreshes each time the record changes…
  • Hi Gerd,

    Thanks for updating!

    The ppRegisterComponentDesigner routine has been moved to the ppComponentDesigner.pas file. Adding this to your uses clause should solve the issue.
  • Hi Bob,

    My guess is that this is a template issue. If you load your templates and print individually, do you still get the same behavior?

    Also, since you are loading templates, there is no need to have three report components.…
  • Hi Bob,

    After some research, it appears the error you are getting usually stems from image handling scenarios. Do your subreports contain a large number of images? Are you manually processing images in code? Are there large images?
  • Hi Bob,

    1. You may have a memory leak (or there may be one in RB) that needs to be addressed which is causing this error. I suggest turning on memory leak detection and re-testing before moving forward.

    2. There are numerous w…
  • Hi Heiko,

    This is not a known issue with RB 22.06 and I am unable to recreate it with a simple example.

    1. Where (in code) are you assigning the autosearch fields and ShiftRelativeTo properties?

    2. How are you acces…
  • Hi Steven,

    It appears you have found a solution to your issue however if you would like us to take a look at the initial problem, please create a simple example using only RB and Delphi components (and sample data) and send it to support@…
  • Hi Lawrence,

    Take a look at the following article on how to modify RAP programs in code. The same concept could be used to loop though each RAP event and check values.

    in Access RAP events code in Delphi as text Comment by nicocizik October 24
  • Hi Achim,

    The Report.CancelDialog.AllowPrintCancel property will enable/disable the cancel button of the dialog. Use the Report.OnCancelDialogCreate event.
  • Hi Lawrence,

    This is working as designed. After further research, the error I was receiving in my test app was due to a type mismatch and was not directly related to the incorrect field name per se. We will consider adding a descriptive…
  • Hi Lawrence,

    Thanks for the feedback. Are you referring to a compiler error or runtime error? An error is given at runtime when the field name is incorrect however it is not very descriptive. We will look at providing a more useful runtim…
  • Hi Goran,

    Are you able to recreate a similar issue without TRichView/TScaleRichView? If so, please send the example in .zip format to support@digital-metaphors.com and I'll take a look at what is happening.

    Otherwise, I sugg…
  • Hi Andy,

    The export devices included with ReportBuilder do not interface directly with data.

    They require a report layout which, when processed by the report engine, creates TppPage objects containing TppDrawCommands (instruct…
  • Hi Andrea,

    When ReportBuilder exports a report to RTF, it cannot simply copy the existing RTF from any TppRichText components present into the resulting exported file. RTF files must be built from the ground up.

    RB parses th…
  • Hi Yusuf,

    The real issue is that the Windows API renders lines from the outside edge inward whereas PDF renders lines from the center point. ReportBuilder has logic to handle this however occasionally (usually due to rounding) they can b…
  • Hi Dag,

    This is not an issue we have seen before. Which version of ReportBuilder and Delphi are you using? Please create a simple example using only RB and Delphi components and send it to support@digital-metaphors.com in .zip format.
  • Hi Dag,

    >> the image will be in text format.

    Does this mean that the raw image data is being shown as text rather than the image itself? Does the image display correctly when printing to the printer or preview?

  • Hi Félix,

    I'm a bit unclear about what you would like to happen when you print a copy of the final page only? Would you like the variable to reset in this case?

    Currently, it appears you are coding a solution similar to our "<…
  • Hi Dirk,

    1. CreateFontPackage Error 1100 indicates that the Windows api is unable to process a certain font you are using. The entire error message should give you the name of the troubled font. Let me know and I can test here.
  • Hi Jon,

    We have not had any known issues with deadlocking and are confident in the thread safety of ReportBuilder.

    I am curious about your ultimate goal. Are you attempting to load a template in a background thread, then run t…
  • Great find. I sent you a patch that solves the issue.

    Registered users with a valid software subscription can email support@digital-metaphors.com to receive that patch.
  • Hi Mario,

    When exporting to PDF from the preview, the same PrintToDevices code is called.

    The issue is likely that the ScaleImages property is being set to True at some point when exporting in code.

    Are you loading…
  • Hi John,

    Please send a simple example of this in zip format to support@ and we'll take a look at what is happening.
  • Hi Lawrence,

    Report columns all need to be the same width although they can be positioned on the page as needed. There are no column borders, all positions are absolute.

    If you wish to define the column positions manually usin…
  • support@digital-metaphors.com :smile: