On my booking order subform (subform of booking form linked by booking no) i have booking no, property no, price per day, no of days, total cost and total property cost. All my fields are numeric and the total coat and total property cost are situated in the subfooter of the form and grouping is by the property no.
total cost shows the price for that property no depending on amount of days
total cost is worked out: =[price per day]*[no of days]
total property cost needs to show the sum of all the total costs because more than one property can be booked on the same booking no.
i have tried =sum([total cost]) but it just shows 0. i think this might be because total cost is a derived value because when i just do =[total cost] the correct value appears from the coresponding field it just seems to have a problem when using the SUM function.
I have also tried =Sum([price per day]*[no of days]) but this also shows 0.
Is there any way of getting round this?
Thanks
total cost shows the price for that property no depending on amount of days
total cost is worked out: =[price per day]*[no of days]
total property cost needs to show the sum of all the total costs because more than one property can be booked on the same booking no.
i have tried =sum([total cost]) but it just shows 0. i think this might be because total cost is a derived value because when i just do =[total cost] the correct value appears from the coresponding field it just seems to have a problem when using the SUM function.
I have also tried =Sum([price per day]*[no of days]) but this also shows 0.
Is there any way of getting round this?
Thanks