How do you create a report (rdlc) that shows 1 record per page

前端 未结 1 850
太阳男子
太阳男子 2020-12-28 21:30

Having some trouble getting this to work... I basically want the report to look similar to:

\"enter

相关标签:
1条回答
  • 2020-12-28 21:58

    To create the effect of one record per page means you need to set a group element to the report. For instance assume you have a database table called "Login" and you wanted to group by a person's login name. Here is what you do:

    First add a table to the report like so:

    enter image description here

    The table can be found in the "Toolbox" on the left hand side of VS2010. Once the table is added you will want to add a group to this table:

    enter image description here

    After this you will want to go to the properties of the group:

    enter image description here

    Here you simply can set a page break between each instance of a group, in addition, this will give you a "one record per page".

    0 讨论(0)
提交回复
热议问题