问题
I have a report that looks like this:

As you can see there's the yellow/orange bracket.
I believe that I need the bracket to cover both fields like this:

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
回答1:
I would do this potentially as it may be simpler than getting into something already happening wrong:
- Add a new details row
- verify both details row return data of one of each for each data line in a dataset
- 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 :)
回答2:
Right click on the Details row. Insert Rows -> Inside Group - Above.
来源:https://stackoverflow.com/questions/16046678/how-to-associate-two-fields