how to associate two fields

余生长醉 提交于 2019-12-25 01:55:52

问题


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:

  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 :)




回答2:


Right click on the Details row. Insert Rows -> Inside Group - Above.



来源:https://stackoverflow.com/questions/16046678/how-to-associate-two-fields

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!