G
Guest
So far I have the following expression on a continuous form that is returning
zilch.
=DSum("[TertiaryShipQty]","[TblAssySubShipments]","[TblAssySubShipments]![AssyShipmentID]"="Me!TxtAssyShipmentID")
What I want dsum to do is return a total for the field TertiaryShipQty from
the table TblAssySubShipments but only for records where the field
AssyShipmentID from the same table equals the value in the current form's
text box called TxtAssyShipmentID.
I know it is a problem with the criteria because when this is omitted, dsum
dutifully returns the total of the whole table.
Thanks in advance.
zilch.
=DSum("[TertiaryShipQty]","[TblAssySubShipments]","[TblAssySubShipments]![AssyShipmentID]"="Me!TxtAssyShipmentID")
What I want dsum to do is return a total for the field TertiaryShipQty from
the table TblAssySubShipments but only for records where the field
AssyShipmentID from the same table equals the value in the current form's
text box called TxtAssyShipmentID.
I know it is a problem with the criteria because when this is omitted, dsum
dutifully returns the total of the whole table.
Thanks in advance.