Apr 29, 2004 #1 vgeng Technical User Feb 5, 2003 15 BE I have next formula in my form : =Sum(IIf([check]=Yes;[IN];0)) Access only recalculate the formula when I select another record Isn't there a possibilty to recalculate the result at the moment I change the checkbox [check] from No to Yes ? Thanks Gette
I have next formula in my form : =Sum(IIf([check]=Yes;[IN];0)) Access only recalculate the formula when I select another record Isn't there a possibilty to recalculate the result at the moment I change the checkbox [check] from No to Yes ? Thanks Gette
Apr 29, 2004 #2 RoyVidar Instructor Jun 16, 2000 6,606 NO Hi! Try to add a [tt]me.recalc[/tt] in the after update event of the checkbox (forces recalculation on all calculated controls on the form) Roy-Vidar Upvote 0 Downvote
Hi! Try to add a [tt]me.recalc[/tt] in the after update event of the checkbox (forces recalculation on all calculated controls on the form) Roy-Vidar
Apr 29, 2004 #3 Yarcadian Programmer Mar 17, 2004 30 US Try adding this to the ON UPDATE for the check box: if me!check = -1 then [field name]= sum([in]) else: [field name] = 0 end if David Upvote 0 Downvote
Try adding this to the ON UPDATE for the check box: if me!check = -1 then [field name]= sum([in]) else: [field name] = 0 end if David
Apr 29, 2004 Thread starter #4 vgeng Technical User Feb 5, 2003 15 BE Problem solved Thanks G Upvote 0 Downvote