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

nicocizik

About

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

Comments

  • 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:
  • Hi Andy,

    Sorry for the delayed response.

    I am unclear about which dropdown you are referring to (this message is posted to the RAP category which does not have any dropdowns).

    Note that DADE only uses field aliases w…
  • Hi Nick,

    Which version of Delphi and ReportBuilder are you using? Are you able to see the designer at runtime?

    I suggest performing a complete uninstall of ReportBuilder and being sure all RB related design-time packages are …
  • Hi Ken,

    Be sure your the TppVariable is set to a numeric type rather than string. Also, note that for a two-pass report, the OnCalc event will fire twice.
  • Hi Andy,

    We are going to need more information about your setup to track this down.

    1. You mention this only happens on one app. How is this app different from the applications that function correctly?

    2. Are you lo…
  • Hi Marko,

    Are you able to recreate this behavior with an empty report containing the PDF only? If so, please send this example to support@digital-metaphors.com with the original PDF file included and we'll track down the problem.
  • There is a way but it is hidden :). I'll see about adding a link to the profile page.

    in Forum navigation: how do I find my own posts Comment by nicocizik June 18
  • Hi Lawrence,

    All formatting occurs in the TppDisplayFormat.Format routine inside the ppDisplayFormat.pas file. The Delphi routines FormatFloat, FormatCurr, and FloatToStrF are used in various cases based on the format given and data type…