对报表进行动态排序和分组

编程入门 行业动态 更新时间:2024-10-26 19:37:54
本文介绍了对报表进行动态排序和分组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我改变了这篇文章,因为我更改了报告参数的设置方式。

I changed this post since I changed the way the report parameters are set up.

我的报告的参数是一个下拉选项,用户可以选择'日期记录'或'存款日期'(这些是输入查询中的单独列)和日期范围(从日期到日期)和行为类型的下拉列表(也是输入查询中的列) )。

The parameters for my report are a drop-down selection where the user can choose 'Date loggged' or 'Deposit date' (these are separate columns in the input query) and a date range (from date and to date) and a drop-down for Type of Action (also a column in the input query).

报告按所选日期和行动类型分组。每个日期和行动类型都需要小计。

The report is to be grouped by the chosen date and type of action. Sub-totals are needed for each date and type of action.

我已完成上述所有工作,但只有一个日期选择。我无法弄清楚如何对所选日期进行排序/分组。

I have all of the above working but for only one date choice. I cannot figure out how to make it sort/group for either chosen date.

此外,这是一个棘手的部分。在报告的最后,我想打印所有日期中每种类型的操作的总计。好像我可能需要一份子报告。我该如何设置?我应该创建一个单独的查询来按类型操作进行分组和总计吗?

Also, here is the tricky part. At the end of the report I want to print totals for each type of action across all dates. Seems like I might need a sub-report. How would I set that up? Should I create a separate query to do the grouping and totalling by type of action?

推荐答案

使用计算字段进行分组和排序。

Use calculated fields for grouping and sorting.

如果需要更多然后发布您的字段名称和参数输入对象名称。

If need more then post your field names and parameter input object names.

更多推荐

对报表进行动态排序和分组

本文发布于:2023-11-25 16:31:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1630502.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:报表   动态

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!