+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

Sum for suppressed detail lines


(Guest) #1

Hallo to all LL-users,

I am using LL version 13 and the active-x component.

What is my problem ?

I have defined a table and a sum-variable (@SUM01) for 1 field in this table.
If the customer wants a detailed report with all the individual lines, the sum at the end works fine.
If the customer wants only the summary line without all the individual lines, I suppress all these individual data lines and I want that LL make the sum for this suppressed lines with following instruction

LlSetOption with the parameters (Ll_option_calcsumvarsoninvisiblelines,true).

My cobol compiler (ACUGUI - version 8.0.0) gives an error
“Undefined data item Ll_option_calcsumvarsoninvisiblelines”.

My question: What’s wrong with this variable ? Does anyone else uses this variable ?
Other options ?

Thanks for your help.

Mr J. Claes


(Guest) #2

Hi!

Perhaps your cobol declaration file does not contain this option?
So your compiler has this error.
You can define it yourself -> just have a look at the C++ Headerfile and copy the value of this option. You can call LlSetOption with that value or make your own definition in cobol (like the other options.

HP

Hallo to all LL-users,

I am using LL version 13 and the active-x component.

What is my problem ?

I have defined a table and a sum-variable (@SUM01) for 1 field in this table.
If the customer wants a detailed report with all the individual lines, the sum at the end works fine.
If the customer wants only the summary line without all the individual lines, I suppress all these individual data lines and I want that LL make the sum for this suppressed lines with following instruction

LlSetOption with the parameters (Ll_option_calcsumvarsoninvisiblelines,true).

My cobol compiler (ACUGUI - version 8.0.0) gives an error
“Undefined data item Ll_option_calcsumvarsoninvisiblelines”.

My question: What’s wrong with this variable ? Does anyone else uses this variable ?
Other options ?

Thanks for your help.

Mr J. Claes