S
SMT
Below is my query SQL. I need to see cumulative totals for [MonthlyDelivery]
and [Delivered On Time] Can anyone help.
SELECT tblMonthlyInput.ID, tblMonthlyInput.MonthlyDelivery,
tblMonthlyInput.[Delivered on Time], tblMonthlyInput.[Days over due],
tblMonthlyInput.BranchDiv, tblDeliveryType.[Delivery Type],
tblMonthlyInput.OverDue, tblMonth.Month, ([Delivered On
Time]/[MonthlyDelivery]) AS [Monthly Complete and Ontime],
tblMonthlyInput.MonthID
FROM tblDeliveryType INNER JOIN (tblMonth INNER JOIN tblMonthlyInput ON
tblMonth.MonthID = tblMonthlyInput.MonthID) ON tblDeliveryType.DeliveryID =
tblMonthlyInput.DeliveryType
WHERE
(((tblMonthlyInput.BranchDiv)=[Forms]![FilterRecordsMenu]![SelectDivision]));
and [Delivered On Time] Can anyone help.
SELECT tblMonthlyInput.ID, tblMonthlyInput.MonthlyDelivery,
tblMonthlyInput.[Delivered on Time], tblMonthlyInput.[Days over due],
tblMonthlyInput.BranchDiv, tblDeliveryType.[Delivery Type],
tblMonthlyInput.OverDue, tblMonth.Month, ([Delivered On
Time]/[MonthlyDelivery]) AS [Monthly Complete and Ontime],
tblMonthlyInput.MonthID
FROM tblDeliveryType INNER JOIN (tblMonth INNER JOIN tblMonthlyInput ON
tblMonth.MonthID = tblMonthlyInput.MonthID) ON tblDeliveryType.DeliveryID =
tblMonthlyInput.DeliveryType
WHERE
(((tblMonthlyInput.BranchDiv)=[Forms]![FilterRecordsMenu]![SelectDivision]));