Rendering output for the report failed and the following error occurred: Index was outside the bounds of the array

Hello!

I’m a relative new to NAV/BC and quite uncomfortable with reports.
I’ve created a timereport system which lets everyone easly stamp in and out from different projects.
From this I created a report that selects the project and prints the different users that is involved in that project and the amount of hours they have spent during that project.
It’s all in AL.

My problem is when I try to run my report it ends up with:
Rendering output for the report failed and the following error occurred: Index was outside the bounds of the array.

I know arrays are 0 index based but I don’t know if there’s problem with the report itself or if there is something with the RDL file.
Even if I run it from custom report selection with no data I get the same error.

Please help :slight_smile:

1 Like

if you are referring to the Array datatype, they are not zero indexed. The first element is 1. It’s Option fields that are zero indexed.

1 Like