是不是access不支持max(日期)?为何以下不行? 
close;
 sql.Clear;
 sql.add('select max(rjdate) as rj');
 sql.add('from cwrjtb');
 open;