Hi All,
I have a small database. In the form I have a check box called chkAddToTaxZone . I set the default value -1.
Basically I want it to change the value of two calculated fields from positive to negative when the check box value is 0.
When I check the value again, the values in these two calculated field does not change. I have to do it a few things.
What am I missing?
Raghu
Code:
Private Sub chkAddToTaxZone_AfterUpdate() If chkAddToTaxZone Then Me.NoOfDays = NoOfDays Me.FNTotal = FNTotal Else Me.NoOfDays = (-1) * NoOfDays Me.FNTotal = (-1) * FNTotal End If Me.Requery End Sub
Basically I want it to change the value of two calculated fields from positive to negative when the check box value is 0.
When I check the value again, the values in these two calculated field does not change. I have to do it a few things.
What am I missing?
Raghu
Comment