<i>You'll most likely want to use the Form_Error Event. I did'nt include the exact error code, I don't know it. Use the value returned in 'err.number' while tracing through the code to get the value for this specific error, then just test for it in the Form_Error Event.</i><br><br><br>Private Sub <b>Form_Error(DataErr As Integer, Response As Integer)</b><br>ConstantValueForInvalidData = ? 'you'll have to look this up.<br><br>If DataErr = ConstantValueForInvalidData Then<br> MsgBox "Enter valid currency value, O.K. ?!!", vbExclamation<br><br> CurrencyDataTextField.SetFocus<br><b>Response = acDataErrContinue</b> '<font color=red>cancel the Access Error Dialog</font><br> End If<br>End Sub<br><br>If this is the only text box on the form that could generate this error then the above is sufficent. If there are more than one then you'll have to determine which text box generated the error and thus set the focus to the correct box.<br> <p>Amiel<br><a href=mailto:amielzz@netscape.net>amielzz@netscape.net</a><br><a href= > </a><br>