heidihunter
21st August 2003, 12:19
I have a report script that begins with the following:

declaration:

long hh_virtstoc


after.item.cntr:
before.layout:
hh_virtstoc = hh_sumvirtstoc()


The function hh_sumvirtstoc() is defined further on in the script. On compiling, I get the following errors:

label 'after.item.cntr' not expected within section
No current layout
No statements expected outside section

Could this be caused by the label name being incorrect or do I need a layouts section label?

bdittmar
21st August 2003, 12:33
Originally posted by heidihunter
I have a report script that begins with the following:

declaration:

long hh_virtstoc


after.item.cntr:
before.layout:
hh_virtstoc = hh_sumvirtstoc()


The function hh_sumvirtstoc() is defined further on in the script. On compiling, I get the following errors:

label 'after.item.cntr' not expected within section
No current layout
No statements expected outside section

Could this be caused by the label name being incorrect or do I need a layouts section label?


The after field is like .......

after.item.cntr.1:


Every Report Label has a number !

Best regards Bernd