Prueba con esta función:
Código Delphi
[-]
function EsFechaValida(S: String): Boolean;
var
Y, M, D: Word;
Fecha: TDateTime;
begin
Y := StrToIntDef(Copy(S, 1, 2), 0);
M := StrToIntDef(Copy(S, 3, 2), 0);
D := StrToIntDef(Copy(S, 5, 2), 0);
if Y*M*D > 0 then
Result := TryEncodeDate(Y + 1900, M, D, Fecha)
else
Result := false;
end;
Y por cierto, trata de dar títulos más descriptivos para tus mensajes.
// Saludos