BloodshotVandal
Registered User.
- Local time
- Today, 07:01
- Joined
- Nov 19, 2009
- Messages
- 17
I have the following formula
The thing is the Me![intTotal] value only updates when the next record is accessed but not immediately when the intAmount value is changed. Can someone help me figure out why the Me![intTotal] does not update when the intAmount value is changed?
Thanks
Code:
Public Function TotalBalance()
Me![intTotal] = DSum("[Total]", "qryMain", "[TransDate] <=#" & TotalDate & "#")
End Function
:
:
Private Sub intAmount_AfterUpdate()
TotalBalance
End Sub
Private Sub intAmount_Change()
TotalBalance
End Sub
Private Sub Form_Current()
TotalBalance
End Sub
The thing is the Me![intTotal] value only updates when the next record is accessed but not immediately when the intAmount value is changed. Can someone help me figure out why the Me![intTotal] does not update when the intAmount value is changed?
Thanks