Delphi / Object Pascal · Database exception
What does EDBEditError Exception mean in Delphi / Object Pascal?
Raised by data-aware edit controls such as TDBEdit when the value being entered or loaded doesn't match the EditMask configured for the control - the underlying field value can't be formatted or parsed against the mask pattern.
Raised by data-aware edit controls such as TDBEdit when the value being entered or loaded doesn't match the EditMask configured for the control - the underlying field value can't be formatted or parsed against the mask pattern.
Make sure the EditMask matches the actual shape of data the bound field will contain, including nulls or blanks, and validate mask-formatted input before it reaches the dataset if the mask is stricter than the field's own constraints.