Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Nprinting 17.4 Exception when table is empty

Hello

When my table in the report has value, the Nprinting report works.

When the table is empty, it has to print " no value". This works in Nprinting 16.

But in 17, it throws the exception, Sequence has no elements.

Thanks

Aravind

3 Replies
Chanty4u
MVP
MVP

Hi,

Am not pretty clear with the issue,, could you please explain  with sample  data put it in excel table  --

or post the  Error screen shot.?

Not applicable
Author

I will put it in a simpler way. Consider a straight table.

Table : contains products for which operations were performed on a day.

Material a

Material b

Material c

The Nprinting reports will print report for these three materials.

If there were no operations performed on a particular day for any of these products, the table will be empty.

In that case, the report has to carry the information “No materials operated" or any hardcoded text.

But when the table is empty, the Nprinting throws an exception error " Void constructor error.......Sequence contains no elements"

Chanty4u
MVP
MVP

can you show the how designer looks ?

i mean mapping has not done properly for that table i think.