I need a code that validate a date entered from a DBEdit (with a mask __/__/__), include the manipulation of the return key. I'm trying and only getting errors and errors, argh !!! I put a code in the application's onKeyDown, that detects the keydow, return and keyup keys, for passing from one control to other and work well since exiting from the DBEdit with an enter. TIA Joao Alberto Licht Teixeira PS.: I want a code, not a phrase like 'take a look at DecodeDate from the on-line help', please. --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"