The Student Room Group

Queries in Access

Im having problems with this update query im designing. Below is a link to a pic of the relationships set up for this part.

http://i4.photobucket.com/albums/y13...lationship.jpg

Im trying to use an update query so on another record in the database (in the payments table) can be update.

What i want to happen is for all the OrderDetailID's that hold the same OrderID is to total the record totalcostofparticularpart .

ie. for OrderID "1", there are 3 different parts used, Which come under OrderDetailID "1","2","3" . I want it to sum together each of the orderdetailsID's, totalcostofparticularpart.

any help is appreciated
Sorry mate, i'm Accessed out currently; try grabbing KGSEssex -FatMax on here; he'll no doubt sort you out :wink:

You'll probably need a criterion for orderdetails which reads something like =OrderID
Reply 2
sorted it now anyway, cheers

Latest

Trending

Trending