--- src/ui/dlgColumn.cpp.orig Tue Oct 21 01:15:03 2003 +++ src/ui/dlgColumn.cpp Tue Oct 21 01:15:59 2003 @@ -289,6 +289,8 @@ _("New precision must not be less than old precision.")); CheckValid(enable, !txtPrecision->IsEnabled() || varlen-varprec >= column->GetLength()-column->GetPrecision(), _("New total digits must not be less than old total digits.")); + CheckValid(enable, txtAttstattarget->GetValue().IsNumber(), + _("Please specify valid numeric statistics.")); if (enable) @@ -316,6 +318,8 @@ CheckValid(enable, !txtPrecision->IsEnabled() || (varprec >= 0 && varprec <= varlen && NumToStr(varprec) == txtPrecision->GetValue()), _("Please specify valid numeric precision (0..") + NumToStr(varlen) + wxT(").")); + CheckValid(enable, txtAttstattarget->GetValue().IsNumber(), + _("Please specify valid numeric statistics.")); EnableOK(enable); }