Hi
I have the following code to send an e-mail for a collection from my app
Office365.SendEmail(
"email address",
"Daily Production - " & I_Date.SelectedDate,
Concat(
DailyProd,
Title & Char(10) & Qty & " No " & Unit & " , " & Volume & "m³" & Char(10) & Char(10)
) &
"Total Units : " & Sum(DailyProd,Qty) & Char(10) &
"Total Volume : " & Sum(DailyProd,Volume) & "m³")
This gives an output like below....
C3618 - KIRKCALDY
1 No Unit A , 0.5m³
C3618 - KIRKCALDY
1 No Unit B , 0.67m³
C3615 - THANCKES CULVERT
1 No Culvert 1A , 2.658m³
C3600 - DUNBAR SLABS
4 No Slab , 0.79m³
C3603 - AFC WIMBLEDON
1 No A2 , 1.08m³
Total Units : 8
Total Volume : 5.698m³
Is it possible to summarise or GroupBy the title (and bold it) to give an output like below?
C3618 - KIRKCALDY
1 No Unit A, 0.5m³
1 No Unit B, 0.67m³
C3615 - THANCKES CULVERT
1 No Culvert 1A, 2.658m³
C3600 - DUNBAR SLABS
4 No Slab, 0.79m³