I have a simple database for keeping track of charity contributions. Each record has space for seven dates and seven amounts (to be cleared during end-of-year processing).
There is also a field that shows the total amount, calculated from a query:
coalesce(“Amount 1”, 0) + coalesce(“Amount 2”, 0) + coalesce(“Amount 3”, 0) + coalesce(“Amount 4”, 0) + coalesce(“Amount 5”, 0) + coalesce(“Amount 6”, 0) + coalesce(“Amount 7”, 0)
But this doesn’t show the total amounts in the form; rather, it shows the total amounts in the database record.
Is there a way (perhaps with a macro) to have the record immediately written out to the database, and the form refreshed, when one of the “Amount” fields loses focus?