locked
How to repeat group parent name when group child name changes RRS feed

  • Question

  • User-451953058 posted

    Hi,

    I have a group "car-type" for example and a group inside this one called "car-brand". I want to know how to repeat the "car-type" group name everytime the "car-brand" group name changes. Example:

    What's happening:

    Car Type: 4 wheels 2x4

    Car Brand: Nissan

    Car Brand: Toyota

    Car Brand: Ford

    What I want:

    Car Type: 4 wheels 2x4

    Car Brand: Nissan

    Car Type: 4 wheels 2x4 (This repeats itself)

    Car Brand: Toyota

    Car Type: 4 wheels 2x4 (This repeats itself)

    Car Brand: Ford

    Wednesday, March 14, 2012 9:48 AM

Answers

  • User-451953058 posted

    Ok I just did it without a single line of code. I just put the group parent name inside the group child header section and woola! it's done. Thank you so much for your help though!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 14, 2012 10:17 AM

All replies

  • User1801871119 posted

    1) In logical world : as pe ryour question.

    if child has value then

    print type / parent.header.

    print brand / child.value

    end

    2) Well if you are using grid the you can do this in stored procedure or simple SQL statement.

    or you can share your code...

    Wednesday, March 14, 2012 9:57 AM
  • User-451953058 posted

    I'm sorry but I'm very new at this and I don't know where to write code in a report. Sorry for my ignorance, but asking and finding help will let me get out of it.

    Thanks

    Wednesday, March 14, 2012 10:01 AM
  • User-451953058 posted

    Ok I just did it without a single line of code. I just put the group parent name inside the group child header section and woola! it's done. Thank you so much for your help though!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 14, 2012 10:17 AM