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

  • Hello again again Nico

    It turns out that was given incorrect requirements. What the customer
    actually wants is to print to 4 part laser paper - parts 1,2 and 3 are
    copies of each page of data and part 4 is the T&Cs. So if …
  • Hello again Nico

    I decided to just duplicate the subreports by copy and paste (horrible for
    maintenance). It caused some difficulty in that variables in the footers
    are set to the values of invisible DBCalcs in the detail subre…
  • Hi Nico

    I have seen the examples of how to create a subreport in code but it isnt
    practical to create all the contents object by object. Is it possible to
    have all the subreports.reports point to the one existing subreport.rep…
  • I found it....Used the wrong attribute of the SubTotal.



    --
  • Hi Nico

    This is not possible because each data line can be a different height. Is
    there any way or rendering it to a canvas and then accessing that -eg
    produce a preview then manually control printing it page by page?

  • Nico

    Thanks for your demo. How can I turn potentially multi-page reports into
    multiiple single page reports in order to do what you suggest?

    Regards
    Paul


  • Hi Nico

    to

    Separating documents is easy

    split each document page into
    the

    I cant imagine how to split the document into pages - the data has to be
    rendered to the printer canvas before the page b…
  • Hi, sorry my name is Jean-Fran?ois Nadeau.

    What I am trying to do... let me explain.

    To make it simple, I have customers (break) which have price lists. This
    is the master. Then I have family (break), product code (break)…
  • that means if I want the subreport to be printed after other controls in the
    summary band, I should use bring to front of the pbSection subreport? (I am
    kei)


  • I can't set shiftRelativeTo in pbSection subreport, when I select a region
    in shiftRelativeTo and then move to other property, the shiftRelativeTo
    property clear automatically! So how to solve the problem (pbSection
    subreport print…
  • it seems that in pbSection type subreport, the ShiftRelativeTo property
    cannot be set!! (I am using RB7.03 version)

  • I now see our issue with traverse pipelines and master/detail.

    We stripped out down to basic operation on test job.

    With NO master group page break master pipeline loops (traverse) one loop
    for each data set, all on one …
  • I now see our issue with traverse pipelines and master/detail.

    We stripped out down to basic operation on test job.

    With NO master group page break master pipeline loops (traverse) one loop
    for each data set, all on one…
  • Thanks
    We are doing all linking etc using Interbase SQL . We are not using DAR or
    RAP
    when we filter like from dataset for subreport i.e. only want 'green' data
    then do not get all the proper
    data. When we turn off filte…
  • Ken:

    Be sure your detail pipeline traverses **all** the data--don't filter
    it--and the primary order is the same field that the master field is ordered
    by.

    Edward Dressel
    Team DM
  • I have tried different values of the timing, also without subreports,
    but it rarely does what I expect it to do.

    When I set the timing to "group start", and display the variable at
    each step, I see it being set to 0 after the fi…
  • Using a DBCalc to get the end total always works, but the reason I
    used the variable is to also display the line number next to the
    record.

    I have actually changed the code for this:

    VariableCounter (OnCalc)
  • A TppVariable is a "pointer".

    You must set and use the "value" of the variable and not the
    variable itself. The same way you do for the Variable2 declared in the
    layout.

    So try this:

    VarReportCalc1.Value…
  • Do not worked properly,
    Said the global var

    VarReportCalc1: TppVariable;

    And subreport1 added the suspect to variable2:

    Variable2.value: = variable1.value + value;
    VarReportCalc1: = variable2.value;
  • You can define your TppVariables in the main report section, and use
    them via code in the subreports.

    Ex:

    Declaration (main tab)
    refSubreport1 = TppVariable;

    From any variable.OnCalc in the subreports you…
  • Nico,

    The issue was with the DataSet.AfterClose event not any RB issues. Thanks,
    Ken
  • Just what I needed, Using TppLabel works perfect!


    Thankx,

    Chantal

    On Thu, 13 Dec 2007 08:56:19 -0700, "Nico Cizik \(Digital Metaphors\)"
  • Thank you very much, again, Nico!

    I really do appreciate you pointing me into the right direction!

    Regards,
    Everett!
  • Nico:

    Thank you very much for your reply! Both are excellent ideas !

    I have two last questions. First, can ZOrder be set dynamically via my app?
    (example?).
    Second, can someone lead me to an example of loading save…
  • Ohhhh. Just found it ... chr(10) does the job...

    Thankx for your help!

    Chantal
  • Good...I'm getting there...
    I managed to get de ';' where I needed them, but I can't get the
    carriage return...
    #13#10 won't compile...it's expecting a string but if I give him a
    string it just displays it... something like " te…
  • Hi Nico,

    Would you have an example of this kind somewhere I can look at?
    I've never directly modified file properties/events before.

    And how do I export a "CRLF" ? I don't know if I must use a special
    symbol but every…
  • Nard Moseley (Digital Metaphors) napisal(a):
    Thank You. I spend couple hours on this problem but I found. On
    aftrescroll query my position there was opening and closing position
    details query. I have changed it.Now On aftrescroll e…
  • Hi Nico,

    Now they are printing but the subreports property ParentPrinterSetup isn?t
    setting . So in the report preview if i select other printer name for
    example , it isn?t accepted.

    I try to change the childs prin…
  • Hi Nico,

    I take the subreports out of the regions and now they are printing!!!

    Thanks!!! :-)