Append from myfile.xls type xls for IsValidDate() *IsValidDate.prg if myDateField > {^1900/1/1} && or whatever test you need to validate * Return .T. and record will be appended llAppendIt = .t. else * Log/handle exception * ... * Return .F. and the record will not be appended llAppendIT = .f. endif return llAppendIt