Hi Paul,
Here's what I've done in a similar situation:
1. set the form's keypreview property to .t.
2. in form's keypress method check that keycode= 4 and that the thisform.activecontrol.name=
.
3. (here I'm less sure, but you might try it) thisform.activecontrole.value= thisform.activecontrol.value+' '+dtoc(date()).
HTH,
Marc
>Hello,
>
>I have an EditBox to key in notes for a customer. I would like to automatically insert todays date when the customer hits CTRL+D or whatever. I have played around with a few things to no avail like on key label in the keypress event of the editbox.
>
>Any ideas?
>
>Paul
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.