So basically, I'm trying to retrieve the SUM of the data (refer image below) from the field "TotalPrice" (highlighted red) in the subform and put it into the "Sales" (highlighted blue) field in the main form. I've tried a few things including using the DLOOKUP function, but then the "Sales" field but that didn't work as I wanted it to. I'm really quite new to MS Access and I hope someone can help me with this for my school assignment. Thanks!
![]()