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

to have access to group of report main

edited August 2005 in Subreports
I am programming in one sub report and would like to know as to change the
Group1.NewColumn property being that this group is in report main.

Comments

  • edited September 2005

    - Subreport.Report.MainReport can be used to access the main report

    - Subreport.Report can be use to access the childreport associated with the
    subreport.

    Note: Do not modify the group.NewColumn while the report is generating
    (i.e.set the property prior to calling report.Print)

    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2005
    certain I have an accountant in the detail of sub report that when he
    arrives the 15 registers I I have that to make a new column in report main
    as I I could make this?


  • edited September 2005
    it forgives but please you needing very this tip if you it will be able to
    help me I will be very grateful. Debtor Andres Velasqui


  • edited September 2005

    1. A group will break when the group break value changes

    2. The Group.NewColumn property specifies whether a new column will started
    when the group break value changes

    3. The Group.OnGetBreakValue event can be used to return a custom break
    value





    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2005
    certain vo to try to esplicar you better:
    1 - you programming in rap
    2 - I have one report and one subreport in restituting main I have 2 columns
    and in subreport I have 3 columns
    3- in subreport I have an accountant in the detail band who when this
    accountant arrives the 15 I have that to force the column in addition that
    is in report main.
    debtor Andres Velasqui



  • edited September 2005
    it forgives. but ja obtained to see my situation you being worried therefore
    nobody obtains to help me.
    Debtor
    Andres Velasqui


  • edited September 2005

    1. You can try setting detailband PrintCount to limit the detail band to
    printing x number of times.

    2. The other alternative is to create a Group on a TppLabel or TppVariable
    object and use the Label or Variable OnGetText event to return a value or
    use the Group OnGetBreakValue event as I described before.

    It is Labor Day weekend here, today is a holiday in the US. We do not
    typically provide tech support on weekends and holidays. Thanks for being
    patient.


    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2005
    all good. regarding the holiday. in Brazil also is holiday Saturday and
    sunday here. following its answers until had given certain. but the
    following problem acontenceu. I placed detail.printcount: = x but details
    that it had more registers that x was without values some. as if was
    invisiveis and the column did not break with the remain of the registers.



  • edited September 2005

    Please create a simple, focused example that demonstrates what you are
    trying to accmplish. Use standard Delphi components and the DBDemos data.
    Send in zip format to support@digital-metaphors.com and we can check it out
    here. I think that will help us to move forward...

    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.