Hi, i would like to have four check boxes on a form and a total box at the end so that as each box was ticked the total box would advance in increments of 3. can this be done??
Although [blue]randy700[/blue] & [blue]PHV[/blue] have the formula, I don't believe checkboxes will trigger a [blue]ReCalc[/blue] to keep the total in sync with their state changes. You'll know because the [blue]total won't update![/blue]
If the above is true ... simply add [blue]Me.ReCalc[/blue] in the [blue]After Update[/blue] event of each checkbox.
[blue]Your Thoughts? . . .[/blue]
See Ya! . . . . . .
Be sure to see thread181-473997 [blue]Worthy Reading![/blue]
Also faq181-2886 [blue]Worthy Reading![/blue]
Hi This has worked but the totals do not transfer back to the totals field in the table. aslo could i put a message box on this when the total has reached 12??
Why would you want to transfer the totals field to the table? It is not considered good practice to store calculated values. The totals can be obtained
from a query if you need them for a report and are all ready being calculated for the form.
Add your message box to the after update event of each check box.
IMO, "four check boxes" raises a red flag regarding normalization. Why not three? What happens when you decide your business needs suggest six? My concern is these four "values" should be stored in four related records. I could be wrong.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.