I have a continuous form based on a query that lists (amongst other data) amounts and status, the latter in the form of a true/false tickbox. What I want to do is to have a total on the form that returns the value of the items ticked so that when I tick or untick an amount the total updates itself.
I’ve written a function to iterate through the database to arrive at the total of items ticked and have tried to attach this to the on click event for the tickbox. I can’t get this to work and I think this is because having not moved away from the record it hasn’t been saved. In other words the tickbox looks as if it has been ticked but (I’m presuming here) since the record is not actually saved the function is still reading the tickbox as unticked. I’ve also tried the after update event but this also seems not to work. Any ideas how I should proceed.
Regards
David