datAdrenaline
AWF VIP
- Local time
- Today, 14:32
- Joined
- Jun 23, 2008
- Messages
- 697
>> The above posting suggest putting it on the cmdOK button. <<
I would use the Form_BeforeUpdate() to actually do the validation (or call the validation). And you cmdOK button would just save the data:
When the record is saved the BeforeUpdate event will fire and validate your data.
---
In addition, Papa is definately correct in indicating that you do NOT (99% of the time at least) store the results of calculations in tables.
I would use the Form_BeforeUpdate() to actually do the validation (or call the validation). And you cmdOK button would just save the data:
Code:
Private Sub cmdOK_Click()
If Me.Dirty Then Me.Dirty = False
End Sub
When the record is saved the BeforeUpdate event will fire and validate your data.
---
In addition, Papa is definately correct in indicating that you do NOT (99% of the time at least) store the results of calculations in tables.