Hi Nancy,
I think you're right! The forms Error event fires and I can trap the error there. Better, it fires even if the control is not bound to a form's property (in my case, it's bound to a field).
The first tests I ran work fine! Here is my code:
LPARAMETERS nError, cMethod, nLine
if nError = 2034
wait window nowait 'Invalid date'
thisform.ActiveControl.setfocus
endif
Very grateful for the tip, thank you Nancy!
Christian
Gensoft Sàrl
Christian Carron