>
>Kevin, use KeyPress event. Your have 2 choices : set form.KeyPreview = .t. and place the code to form.KeyPress, or have your date textbox subcassed and put this code in the textbox class KeyPress.
>
>Nick
Thanks for the info!! I tried the first suggestion but for some reason it seems to ignore function keys ?!?!? I have other keys in the keypress event (Page UP and DOWN) that work. My nKeyCOde value for F12 is 134. Also do you know how I can determine if the current object is a date field? Do I still use TYPE? As for the second suggestion, unfortunately the app was created without a subclass library. All the date fields are off the base class. Is there some way to implement the second suggestion at this point??
TIA!