How to get Quantity like 1/5, 2/5, 3/5,...

Stimulsoft Reports.WEB discussion
Post Reply
KlemenZmitek
Posts: 1
Joined: Mon Jan 06, 2025 1:04 pm

How to get Quantity like 1/5, 2/5, 3/5,...

Post by KlemenZmitek »

Hello all,

I would like to create a label report and I have a problem with Quantities.

For every differen part, I would like to write 'separate quantity' and total quantity.
So, if total quantity is 3, I need to be written:
1/3 on a first label,
2/3 on a second label,
3/3 on a third label.
2025-01-06_14h17_53.png
2025-01-06_14h17_53.png (77.84 KiB) Viewed 10172 times
I get total quantity from database field Nesting_products.Quantity. What is the best way to get this separate quantity?
2025-01-06_14h20_49.png
2025-01-06_14h20_49.png (134.15 KiB) Viewed 10172 times
Thank you!
Attachments
Preis3.xsd
(20.63 KiB) Downloaded 57 times
Preis3.xml
(10.73 KiB) Downloaded 54 times
Preis3.mrt
(39.84 KiB) Downloaded 55 times
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: How to get Quantity like 1/5, 2/5, 3/5,...

Post by Lech Kulikowski »

Hello,

In this case, you can set the necessary count of the labels via code, for example, via Blockly code.

Thank you.
Attachments
CounDataForDetailsBlockly.mrt
(30.01 KiB) Downloaded 80 times
Post Reply