D
DS
This DSum works until I add the Sent criteria, anyhelp appreciated.
Thanks
DS
Me.Text5 = Nz(DSum("[BasePrice]*[QtyPrice]", "SalesDetailsMoney",
"[SalesID] = " & Forms!CheckPreview!TxtSalesID & " And [Sent] = -1"), 0)
End Sub
Thanks
DS
Me.Text5 = Nz(DSum("[BasePrice]*[QtyPrice]", "SalesDetailsMoney",
"[SalesID] = " & Forms!CheckPreview!TxtSalesID & " And [Sent] = -1"), 0)
End Sub