M
Magdalena
In MA database I have 2 tables - Products and Deliveries - linked by key
field ProductCode. The same product can be delivered many different times. In
the table Products I want to enter the total number of each product. (i.e. 10
pieces of product A was delivered 4/10/04 and 23 pieces of product A on
12/11/04. In the table Products I want to have 33 in the product A record) At
the moment I'm trying to use the DSum function in the update query but it
doesn't do work. This is what I have:
Field: UnitsInStock
Table: Products
Update To: DSum("[NumberOfUnits]","Deliveries","[ProductCode]=" &
[ProductCode])
Criteria:
Please help me!
Magdalena
field ProductCode. The same product can be delivered many different times. In
the table Products I want to enter the total number of each product. (i.e. 10
pieces of product A was delivered 4/10/04 and 23 pieces of product A on
12/11/04. In the table Products I want to have 33 in the product A record) At
the moment I'm trying to use the DSum function in the update query but it
doesn't do work. This is what I have:
Field: UnitsInStock
Table: Products
Update To: DSum("[NumberOfUnits]","Deliveries","[ProductCode]=" &
[ProductCode])
Criteria:
Please help me!
Magdalena