Hi everyone, I'm having an issue with getting my fields to update when i change records. I have a main form and a subform. The main form has "total", "deposit", and "due" text boxes. The subform has the items, and the item total(# of items*price).
I currently have an update query that calculates the Item total. And in the form I have an OnUpdate event that takes the (Total price for the order) - (any deposit) = to ammount due.
This all works great, accept for the fact if you go to a record with a different order number the total, deposit, and due fields remain the same as they were with the previous record.
From what I understand its not good to store calculated fields within tables so I'm trying to do this within the form.
How can I get the fields to update automatically when i change records?
Thanks,
Scotter
I currently have an update query that calculates the Item total. And in the form I have an OnUpdate event that takes the (Total price for the order) - (any deposit) = to ammount due.
This all works great, accept for the fact if you go to a record with a different order number the total, deposit, and due fields remain the same as they were with the previous record.
From what I understand its not good to store calculated fields within tables so I'm trying to do this within the form.
How can I get the fields to update automatically when i change records?
Thanks,
Scotter
Comment