debsamguru
Member
- Local time
- Today, 23:06
- Joined
- Oct 24, 2010
- Messages
- 82
Hi, Access newbie here,
I have two tables, OrderHeaderT and OrderDetailsT. I have successfully created a New Order Form, bringing in the header details and a continuous details subform. I have summed the totals on the subform and I can display the totals on the header part of the form using =[New Order Details].[Form]![OrderCostTotal] but it won't update the TotalCostPrice field on the OrderHeaderT. I believe it's because once the cursor moves to the subform, the record is written to the OrderHeaderT, so there's nothing to force the field to be updated. Is my understanding correct? I don't have a button 'Save Order', because it is automatically created as the items are added.
What am I missing?
I have two tables, OrderHeaderT and OrderDetailsT. I have successfully created a New Order Form, bringing in the header details and a continuous details subform. I have summed the totals on the subform and I can display the totals on the header part of the form using =[New Order Details].[Form]![OrderCostTotal] but it won't update the TotalCostPrice field on the OrderHeaderT. I believe it's because once the cursor moves to the subform, the record is written to the OrderHeaderT, so there's nothing to force the field to be updated. Is my understanding correct? I don't have a button 'Save Order', because it is automatically created as the items are added.
What am I missing?