0
Q
查找表中的列數
A
回答
1
從JasperReports Ultimate Guide的報價:
BUILT-IN REPORT VARIABLES
COLUMN_NUMBER
This variable contains the current column number. For example, on a report with three columns, the possible values are 1, 2, and 3. The variable restarts from 1 and runs up to the defined number of columns for each page in the generated document.
COLUMN_COUNT
This variable contains the number of records that were processed when generating the current column.
PAGE_NUMBER
This variable’s value is its current page number. At the end of the report-filling process, it will contain the total number of pages in the document. It can be used to display both the current page number and the total number of pages using a special feature of JasperReports text field elements, the evaluationTime attribute. You can see this happening in most of the samples. Check the /demo/samples/jasper sample for an example.
REPORT_COUNT
After finishing the iteration through the data source, this report variable contains the total number of records processed.
PAGE_COUNT
This variable contains the number of records that were processed when generating the current page.
GroupName_COUNT
When declaring a report group, the engine automatically creates a count variable that calculates the number of records that make up the current group (that is, the number of records processed between group ruptures). The name of this variable is derived from the name of the group it corresponds to, suffixed with the _COUNT sequence. It can be used like any other report variable, in any report expression, even in the current group expression, as shown in the BreakGroup group of the /demo/samples/jasper sample).
相關問題
- 1. 查找列表中的N的數量
- 2. 查找列表中重複的對數
- 3. 查找天數列表中的天橋
- 4. Ocaml - 查找列表中的字數
- 5. 查找數字列表中的「空白」
- 6. 的Python 3.4,查找列表中位數
- 7. 查找列表中的列表
- 8. 查找列表中的子列表
- 9. 列表中的Rails_Admin查找
- 10. 查找列表中的C#
- 11. 查找表格中的列?
- 12. 查找列表中列表中出現次數最多的對
- 13. 查找實數列表
- 14. 列表中查找在列表的列表中的Prolog
- 15. 在整數列表中查找模式
- 16. 在元組列表中查找數字
- 17. 查找列表
- 18. 查找列表
- 19. 查找列表
- 20. 查找列表
- 21. 查找列表
- 22. 查找列表
- 23. 查找列表
- 24. 查找列表
- 25. 查找列表
- 26. 查找列表
- 27. 查找列表
- 28. 查找列表
- 29. 查找列表
- 30. 查找列表
什麼是有列號的原因是什麼?我有什麼重要的原因,有通過命名列字段爲數字等它的解決方法... – martinnovoty