generate a list of x ítems in a report.

generate a list of x items in a report.
Suppose I have a table with the following columns. [ID_QR] [DatoQR] [Cuntidad] and a virtual column with the QR image
The report must print the QR repeated with the number indicated in quantity [Cuntidad]

Solved Solved
0 4 152
1 ACCEPTED SOLUTION

Source row:

TeeSee1_0-1731915309481.png

Template (Triggered on changes in table MISC)

TeeSee1_1-1731915395397.png

Result

TeeSee1_2-1731915449933.png

View solution in original post

4 REPLIES 4

In your template write something like this..

<<[whatever columns you want to print]>>

<<Start: TOP(TABLE[key],[_THISROW].[Cuntidad])>>
<<[_THISROW].[QR image]>>
<<End>>

//"TABLE" can be any table that has at least as many rows as the maximum number you expect to specify in [Cuntidad].

I only have one repeat

Source row:

TeeSee1_0-1731915309481.png

Template (Triggered on changes in table MISC)

TeeSee1_1-1731915395397.png

Result

TeeSee1_2-1731915449933.png

You might find the following video helpful: 

https://youtu.be/WJuy-UMXvo0

Top Labels in this Space