Calculate field using data from parent form

Calculate field using data from parent form

Hi

I have a parent form with a field called CostPrice.
I have a subform with a field called RetailAdjust.
I want to create a calculated field called RetailPrice.

RetailPrice = (CostPrice + (-1 * RetailAdjust)

I can't work out how to fetch the CostPrice.
I probably have the rest of the equation right, bit some pointers would be great.

Thanks
Brendon