Report Difference from Clarion 11 (and earlier) to Clarion 11.1 when Creating Details X/Y Pos must be set

This post is informational only - it may help those hand-coding reports or report engines. It won’t affect most programs, or the shipping reports.

In Clarion 11.0 (build 13401 and earlier) when doing a
band = CREATE(0,CREATE:DETAIL)
the new detail (band) had it’s XPOS and YPOS implicitly set to 0.

In Clarion 11.1 these values are not set to 0. This can result in problems when these created bands are used on a report.

To resolve the issue make sure that the XPOS and YPOS values are explicitly set after calling CREATE.

band = CREATE(0,CREATE:DETAIL)
band{prop:xpos} = 0
band{prop:ypos} = 0
9 Likes