Project: Birt
Bug 142091 Cannot group rows using row["__rowNum"]
Reported: 2006-05-16 17:12:44 | Status: resolved fixed

See attached report. The report is a simple listing report, and I want to insert a page break after every 10 rows. To accomplish this, I create a group which groups on row["__rowNum"], then set the interval to 10. When I preview the report, it displays an error: Error0 : data.engine.InvalidGroupKey ( 1 time(s) ) detail : org.eclipse.birt.data.engine.core.DataException: Group key "rowCount" in group 1 cannot depend on column bindings defined in the group lower than itself. ... I tried defining the data binding at the table and the group level. Both methods return the same error.

Files changed in fix:
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/expression/ExpressionCompilerUtil.java