ADO Database Delphi

Question:
How to I create a mask for a TDBEdit control?
Answer:
Edit masks are applied to the fields in the table (TField
components) and not in the data controls themselves.
Double-click on the TTable icon and add all the fields you want
from your table. When a field is highlighted, its properties
show up in the object inspector, including an edit mask. Linking
the TDBEdit and any of the other data controls to this dataset
will follow the edit mask rules for the fields set this way.