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

  • Hi Nico,

    I seem to not be able to find the property to adjust printing to another
    printer. Am I right in thinking this has to be done in RAP code? If so where
    can I find an example how to do this?

    Kind Regards,
  • Hi Nico,

    Yes, the DataSets are linked. I cannot place the address information in the
    subreport
    because that subreport is printed to a normal printer. I want the address
    data to be
    printed to a specific Label Printer …
  • Hello Nico,

    I appreciate your help. However, I have the feeling there is a
    misunderstanding:

    Yes, this is correct the title band will only print once but this is exactly
    as it should be.
    I have NO problem with …
  • Hi Nico,

    Sorry for the incomplete description.

    The table structure is as follows:

    Orders, general order data
    Order Detail Base, general data for all articles
    Order Detail Specifics, specific da…
  • This worked perfectly, thanks! I tried right clicking on report tree that
    shows the subreports, thinking that they would have a Move Up/Down option.
    I would vote for that feature.

    Thanks again,
    Mike

  • Dear Nico,

    Thanks again for your help ...

    Now it became clear as I proceed.

    Already considered the example and you noticed that the columns of the
    arrow subreports dynamically. I did the same in my report and…
  • Dear Nico,

    Thank you for your attention on this problem!

    Maybe I expressed how I really need the report, but the number of
    columns must match the number of records from the table "level of
    assessment."

    I …
  • Thanks!

    Nico Cizik (Digital Metaphors) schrieb:
  • Hi Nico,

    The 'ZYKLUS'-Field returns not the same record. It returns another
    record with the same content in Field 'ZYKLUS'. Therefore it must be
    printed and i can't skip!


    Zyklus Field2 Field3 Field4 ....
  • Thanks, Nico.

    It seems like the subreport option will be fine for me. Can you give me a
    hint, how do I assign a TppReport to a subreport (a line of code)?

    Do I need to set CachePages := True and call PrintToDevices for eac…
  • Nico,

    Thanks. It worked perfectly.


    in Subreports Comment by rbuser June 2009
  • In method

    function TppPrintable.CheckForPipelineData: Boolean;

    the following lines are what is causing the problem, and they don't
    exist in the 97 version.

    //optimization
    else if (DataPipeline.GetField…
  • Hi Nico,

    Sorry for my late reply I was on Holidays.
    I made a new report exactly the one in rbWiki with RB 9 and didn't worked.
    After downloading the trial version of RB 11 both reports the bill one and
    the example one wor…
  • Ok, I'll try to explain me better. The idea is printing an invoice or bill
    wich is in A5 paper onto micro-perforated sheets in A4 size. The "original"
    invoice in the upper part of the A4 sheet and the "copy" on the lower part.

  • Hi, Nico,

    I've done some testing. The report has no dataset atached so I tried a new
    project in delphi with a simple report and worked well.
    Then in my application I started to build the report from scratch: the main
    repo…
  • Hi Nico,

    I've tried in that way but I still have 2 pages with 1 subreport in each
    page.
    I've done some testing with a new main report (without header and footer
    bands) and 2 fixed subreports each one has only the detail b…
  • Thanks Nico,

    I don't understand exactly why the subreports needs to be oriented
    vertically. If I size the report in paper A5 verically, I get a message
    saying that the controls beyond the new page width will be removed.
    <…
  • I am using ClientDataSet to link to Data Pipe.

    Something to do with ClientdataSet

    Anyone has the similar problem?

    Jianfei


  • Hello Nico

    Thanks for your reply.

    The minor version we have embedded in our application is 11.03.

    The controls I'm exporting are 2 DBText objects followed by 2 DBCalc
    objects - both of the latter are set to SUM…
  • And i have one more trouble. When i have more than 2 records in my data, on
    Preview form normally displays only first 2 records, and the 3 page is
    empty. I click next several times, and have my 3 row on 5 page, 3-4 are
    empty(

  • I have install the RB 11.02 Trial, and have the same error

  • Hi
    I have AV when call Report.Print. All templates loaded successfull. The call
    stack is very long and i think is useless here.
    The exact point of AV in procedure TppSubReport.GenerateReport in finally
    block, on last event-hand…
  • I simplified my report. It works good now.

    Thanks Nico.
  • SubReport is located in the Summary section. I use the same pipeline for the
    Main Report and SubReports. There is nothing in the Detail section of the
    Main report. All the Main Report does is print the header.

  • It works good, but it leaves the first page empty and then starts printing
    as it supposed to from second page.

  • Thanks Nico. I'll try that.
  • Nico,
    Yes, I'm using RAP. I was talking about setting Sub Report Group Properties
    in the Main Report.
    like if I have a group2 in SubReport, I wanted to do Group2.NewPage in the
    Main Report in the AfterOpenDataPipelines to start n…
  • Hi Nico,

    I'm still having problems. I have created a variable to calculate the amount
    to be displayed for the line and put it in the detail band as you
    recommended. I have created a second variable to hold my declining balance…
  • Hi Nico,
    Is it possible to cut and paste a subreport ?
    If so I would use this tecnique to transform the report in this way.


  • The problem is that this section style subreport should stay
    in a precise position in a sequence of child style, like this:

    subreportchild1
    subreportchild2
    subreportchild3
    sectionstyle1
    subreportchild4