4gl reporting problem
Posted in 1996
Topics: SQL Development & Query Writing, Connectivity: ESQL/C, 4GL & Embedded SQL
Hi, This is my second attempt with this post ... From my newreader, my first attempt did not succeed. My apologies if this a repeat post on yours... I'm writing this report where I need to print the primary group by field in the page header (from here on out, let's call this field primary_field). In primary_field 's after group of section, I have a SKIP TO TOP OF PAGE statement. A problem occurs whenever any primary_field group takes up takes up more than one printed page. On the last page of this group, the wrong value for primary_field field is printed. The value printed is the value for the next primary_field group. For example, in the following example report, the title for page 2 is incorrectly identified as group a, when it should be group b. Has anybody encountered this problem before? And how do you fix it? page 1 title: group a group a data group a data group a data group a data page 2 title: group b group a data group a data page 3 title: group b group b data group b data group b data group b data Thanks, John