Sum variables and LL.CurrentContainerItem

Hello,

I’m using L&L 30 (.000).
We have (again) problems with a SUM variable which is calculated 4 times (obvious, because there are 4 tables on the List project).
So, I wanted to limit it by using a condition, like all the documentation describes.
But, when editing the Sum variable, the Cond gives an error (also the intellisense does not see it) when i type ‘LL.CurrentContainerItem’.
Is this renamed, or do I have to programmably enable this option?
I do see ‘LL.CurrentTableColumn’ and ‘LL.CurrentLanguage’…

Hello Rene, and welcome to the List & Label Forum!

It appears the error you’re facing might be due to not using a report container or working with four separate tables in your report.

To help us better understand and resolve the issue, could you please share the a Report that you have created in the DemoApplication?

This will allow us to review your setup and provide specific guidance. Alternatively, you could send us a fully functional, minimal sample with the source code, so we can take a closer look at this.

Best Regards,
Martin Litkin

Hello Martin,

Mm, unfortunatly I’m (still) not able to upload a file (so you can have a look at our current ‘verzamelfactuur_groepering.lst’).
But I will try to build an example of how it works. But this could take some days…

Thanks,
René

Hello Martin,

I tried to build a demo report in the sample application, but the all use the report container.
After reading in the manual, the report container is only available when using a DataProvider.
But, we do not use that, we push all defenitions ourselfs via the LlDefineFieldExt.
I will try to rebuild our application. However, this also requires all our customer to rebuild there forms, which we do not like…
Or there should be a way to force/stop the calculation of a sum variable, and bind it to a specific table (and not have it calculate for every table again, with unsuable results).

Thanks,
René