I have a SubReport that lists the LotSerialNbr’s of items in a SubReport. The goal is to just list the beginning and ending LotSerialNbr’s (MIN, MAX) as listing all of the number would be too cumbersome. The main manufactured item would be the same but with different qtys of 1 to higher numbers (such as 400, or 500). The first number may be 210324001381, 210324001382, 210324001383, 210324001384 and maybe higher, so all we would need is the 210324001381 - 210324001384.
Solved
First and Last (MIN, MAX) LotSerialNbr in SubReport
Best answer by wmatthews1877
Better yet, I managed to figure it out myself and have included it with this post.
=MIN([AMProdItemSplit.LotSerialNbr]) + ' - ' + MAX([AMProdItemSplit.LotSerialNbr])
The same concept is used in SQL Server coding.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.