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

rbuser

About

Username
rbuser
Joined
Visits
1
Last Active
Roles
Member

Comments

  • Thanks Nard - Setting ClientReport.PreviewFormSettings.SinglePageOnly to
    True solved the problem which begs a bigger question...

    For some of our larger reports we use temporary tables that are filled
    calling Oracle Procedures …
  • Sorry Nard I think I hit reply so I sent this to your inbox by mistake.

    Still using Delphi 2007 as our applications are not fully unicode
    compliant. Would like to get RB 18.01 deployed now before we get to
    Delphi 10+

  • Hi,

    I just fiddled around with changing the user account that runs the
    Report Server and changing the regional settings for different system
    users.

    I can change the display format for date values that are displayed in…
  • All the sub report's detail bands are connected and it looks like i was
    wrong. The first two sub reports don't show the header but the others
    do. No matter they have records or not.

    Thank u very much,
    Dirso.


  • Thanks Samuel,

    That gives me some clues. My current requirements are a little
    different than yours but I would be interested in seeing what you come
    up with (here or email) once you sort out all of your issues.

    Chee…
  • Hi Rick,

    I'm not an expert (yet) but I can tell you what I've done so far. I needed
    something very similar : let the end user drop a dynamically loaded sub
    report and then let them browse the file system for a template.
  • Samuel,

    Thanks for the help. I had already overridden the CreatePopupMenu.
    My problems started after that with what I was using to provide a
    browse for the user to select the report template from the
    folders/items tables. …
  • You have to override the CreatePopupMenu method and add your TMenuItem :

    procedure TMyHeader.CreatePopupMenu(AOwner : TComponent; var APopupMenu :
    TppPopupMenu);
    begin
    inherited CreatePopupMenu(AOwner, APopupMenu);
    <…
  • Hi Jim,

    I went and tried your recommendation and it worked!

    Thank you,
    John Antoniewicz

  • I think I understand the issue with dll's vs packages and can deal with
    that later. The part that I need help with is the following

    Ryan Jones wrote:




  • Ryan,


    you can't place your reports inside a DLL, you have to use a BPL (a Delphi
    specific form of a DLL, respecting RTTI) instead!
    Was that clear enough?

    HTH,
    Chris Ueberall;
  • What I want is a main report that can have a subreport added into it
    from another unit. These pieces may or may not exist and I can
    determine that in the main report so the main report is looping through
    a list of objects that wil…
  • Hi Ryan,

    you must have Tom misunderstanding. It doesn't matter if you are using
    runtime packages of ReportBuilder, you should create a package that replaces
    your DLL that keeps your reports.

    HTH,
    Chris Ueberall;<…
  • I am using packages under all of it. The dll's and the exe all are
    built with runtime packages including the reportbuilder bpl's.

  • But then I would have to define that dataset in each report I will load the
    header template into. That beats half of the purpose of having a reusable
    header. Surely, there must be a better way.

    Samuel.

  • It seems to work OK if I put in the StartOfMainReport :

    TdaQueryDataView(Report.DataPipeline.DataView).Active := False;
    TdaQueryDataView(Report.DataPipeline.DataView).Active := True;

    BUT, every time I open the report i…
  • Tom,

    Is there a way to do that in RB4? Our QA flagged the report being too slow.
    :~(

    Thanks,

    SeHun
  • Thanks Tom.

    Yes, the problem was incorrect property settings on Datasource and
    sub-report DBPipeline. And, yes. The report seems to run slow.

    Thanks and thank you for the example, though I can not view all the
    prope…
  • Thanks Jim, that works fine now !


  • Almost, the problem still exists if you first go to Preview, then change
    something in the design tab and then go back to the Preview.

    Samuel.


  • Or, if you dont want to redo all your reports, there are several acrobat
    products on the market that will append them together or put watermarks on
    them, etc. So, if you could print them all to a directory and then stitch
    them all to…
  • Hi Jim,

    Crosstab's ShifRelelativeTo is set to the SubReport and also I
    tried both the options with/without Main Report connecting to a data
    pipeline. But I don't know why the subreport is printing twice.

    Than…
  • Hi Jim,

    I did exactly like you said, i.e. moved CrossTab report from the
    SubReport detail band to the MainReport detail band right next to the
    subreport component. But the subreport is printing twice.

    Thanks
  • Thanks Jim, it works fine now.
    (not with the patch: I had an error message ... compiled with an other
    version of...)

    Removing the other report from the form solved it for me.

    For other user who have the same problem :…
  • Hi Jim,

    I just have send you a little demo.
    I hope you find what's wrong with it,

    regards,

    Dirk.


  • Maybe I should mention I'm using

    Delphi 5
    RB 6.03

    Both subreports use JIT-pipelines.

    regards,

    Dirk.

  • > Can you create a report using our demo report explorer which doesn't work
    support@digital-metaphors.com

    Maybe this will help :

    I made a very simpel report in *designtime* containig 2 subreports,
    Printbehaviour Ch…
  • Hi Jim,

    I tried that one also, but the reports are printed on top of eachother,

    Is there some property I am missing ?

    btw : The first has a BDE-pipeline, the second a JIT-pipeline. I make them
    in the Report-Expo…