Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a report that looks like this:

enter image description here

As you can see there's the yellow/orange bracket.

I believe that I need the bracket to cover both fields like this:

enter image description here

Because there's a 1:1 relationship between the two fields, and I want them to be displayed like this:

Field1
Field2
Field1
Field2

How can I associate them together like this?

Currently it's reporting this way:

Field1
Field1
Field1
Field2
Field2
Field2
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
223 views
Welcome To Ask or Share your Answers For Others

1 Answer

I would do this potentially as it may be simpler than getting into something already happening wrong:

  1. Add a new details row
  2. verify both details row return data of one of each for each data line in a dataset
  3. Add a grouping and see if that works.

If that does not work, never tried this before sorry, then I would create a subreport that does the grouping and takes a parameter that is at the group level then next a subreport that accounts for two lines. I have done that before :)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...