Report - Running Count within a Group

前端 未结 2 1302
囚心锁ツ
囚心锁ツ 2021-01-26 17:18

I have an Access 2007 report which is grouped by RoomType_ID

I need to do a running count on each line within the Group so that I end up with something like:

Roo

2条回答
  •  面向向阳花
    2021-01-26 17:46

    If probably use (detail) sections in your report (for the grouping). You can make a global integer for the running total value and have it reset every time the 'on layout' or 'on print' event of the header section fires.

提交回复
热议问题