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

nicocizik

About

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

Comments

  • Hi Rodger,

    Thanks for the info. It turns out the PrintDialog is nil when an email is
    sent but the OnPrintDialogCreate was still being fired. I created a patch
    that fixes this issue. Send an email to support@digital-metaphor…
  • Hi Rodger,

    I do not see anything in your code that would be causing an exception.
    Perhaps try tracing backward to the routine that calls SetCanPrintToXLS and
    see if perhaps the issue occurs before. Another thing to try would …
  • Hi Nicola,

    Sorry if I was unclear. The workaround I was suggesting was to only use
    Bitmaps on your report by converting your JPEGs in a separate application
    (i.e. Photoshop). This way you remove the need to use the
    Get…
  • Hi Nicola,

    I did some testing on my machine running a simple app in 256 color
    compatibility mode. It seems this behavior is limited to versions of Delphi
    7 and earlier. Later versions of Delphi process 24 bit images in 8 bit…
  • Hi Manos,

    Are you loading templates by chance? If so, you can use template events to
    change the Language property after the report has been loaded in code
    removing the need to alter all your reports. The OnLoadEnd event woul…
  • Hi Manos,

    Which exact version of ReportBuilder are you using? I suggest updating your
    version to the latest release of RB 10 and testing with that (10.09).
    Contact info@digital-metaphors.com with your serial number for upgrad…
  • Hi Manos,

    ReportBuilder does not natively provide a Greek translation for the
    component, however it is possible to create a custom language translation of
    your own that does this. Versions of RB earlier than 12 allow for a si…
  • Hi Steve,

    Does this happen with every report/project using a Report Designer? Are you
    able to recreate this with a simple example?

    If the RBuilder.ini is the problem, you can use the IniStorageType property
    of the …
  • Hi Robert,

    Sorry, I did not realize you were using TExtraDevices. For quicker (and
    more accurate) responses about third party RB components, you might try
    contacting their support directly.


    Regards,

  • Hi Robert,

    The built-in XHTML device does not currently support exporting to a single
    file. One option would be to write a utility that merges them automatically
    once they have been created. We will consider adding this feat…
  • Hi Nicola,

    One option would be to place the image component inside the PageStyle of the
    report and manually load your images into those components at runtime. This
    would simply be a matter of loading the file into its Picture…
  • Hi Mike,

    The crosstab will only draw what it can fit on a single page. If for
    instance the crosstab overflows to multiple pages, it will not draw a bottom
    border unless there happens to be one when the break occurs.

  • Hi Mike,

    There is now a patch available for RB 12.03 that fixes this issue. Send a
    message to support@digital-metaphors.com to receive the patch.


    Regards,

    Nico Cizik
    Digital Metaphors
    in Cross Tab Sum Integer Problem Comment by nicocizik January 2011
  • Hi Mike,

    The CrossTab component itself does not have keeptogether functionality
    however you could possible place the crosstab component inside a
    keeptogether "container" such as a TppRegion or TppSubreport to get the same
  • Hi David,

    Inside the ExecuteFunction routine you will receive a TraParamList
    parameter. This contains the parameters sent from RAP and allows you to
    assign a return value.

    In your case you have two parameters "AYea…
  • Hi David,

    DaysInAMonth is not natively included with RAP. This can easily be worked
    around by creating a RAP passthru function. Take a look at the RAP demos
    located in the \Demos\0. RAP\... directory for examples and the Dev…
  • Hi David,

    I believe the DateUtils unit contains a routine named DaysInAMonth. See the
    Delphi help for more information.


    Regards,

    Nico Cizik
    Digital Metaphors
    in Month with 28 days or 30 Comment by nicocizik January 2011
  • Hi Mike,

    You need to add ppCTDsgn to your uses clause to register the crosstab
    designer at runtime. See the following article on the registration of
    components.

    in CrossTab Component with tppDesigner Comment by nicocizik January 2011
  • Hi Mike,

    This is where I am lost. My printer has a manual feed bin however it
    requires that I feed all paper to the far left. When I do so (on Windows 7
    and Windows XP) the report outputs correctly. How do you tell your
  • Hi Mike,

    I'm sorry but I'm unable to recreate different behavior on an XP machine.
    Below are the tests I have run on my machines with results. Please let me
    know the steps I can take on my machine(s) to create the correct out…
  • Hi Mike,

    Sorry for the delay in this reply. We are currently working to figure out a
    way to recreate this here on our machines and will get back to you once we
    have more information. Thanks for your patience.


  • Hi Mike,

    The Windows XP machines will most likely be using different printer drivers
    than the Windows 7 machines. This would imply that it is a printer driver
    issue. I would still take a look at the properties dialog of the …
  • Hi Mike,

    I would check the printer driver properties and see if there is some setting
    to let it know that you are feeding smaller paper sizes into the center
    rather than the left. The information I gave you is fundamentally h…
  • Hi Mike,

    When you set the page size to 3.25 x 7.375, ReportBuilder (and the printer)
    will expect the paper being used to be 3.25 x 7.375, not 8.5 x 11. This is
    why the report is appearing on the left side of the paper you are…
  • Yes, it seems the OnFileDeviceCreate fires to early and the
    AfterOpenDatapipelines fires too late. It looks like you will need to
    manually open the pipeline/dataset and retrieve the file name.



    Regards,

  • Hi Jeroen,

    I'm sorry, I had only tested it with Delphi code and assumed RAP functioned
    the same. I forgot that the BeforePrint event fires at a slightly different
    time than in Delphi.

    A better event to use would be…
  • Hi Jeroen,


    No. The TextFileName is passed on to the file device before any data is
    retrieved but is not used until actual data has been received and report
    pages generated. This is simply the order in which the Produce…
  • Hi Jeroen,

    The TextFileName property is used much too early to be altered in RAP after
    the pipelines have been loaded. The only workaround is to access the
    FileDevice.FileName property directly (using a passthu function) perh…
  • Hi Kindo,

    Later versions of ReportBuilder allow the rotation of non-wrapped text
    inside the report using the Angle property. I recommend that you consider
    upgrading to the latest version of ReportBuilder. You will gain this …
  • -----------------------------------------
    Article: End-User Tech Support
    -----------------------------------------

    Please understand that Digital Metaphors can only provide tech support to
    the Delphi developers that purcha…