TDateTime and Edit Masks
Posted on 1998-03-26
I have a field in a Tquery defined as TDateTime (from an Oracle Date column), and all I want to do is allow the user to modify the date portion. I have a display format of 'm/d/yy', which is fine. I put a edit mask of '!99/99/00;1;_' which doesn't work the way I want it to.
For example: When I cursor to that TDBEdit field it changes from 3/20/98 to _3/20/AM and I can't edit it correctly. Any ideas on what to do?
NOTE: If the date field has NO time (0) it works fine.