判断文件是否存在
//判断文件是否存在
if not FileExists(trim(RzButtonEdit1.Text)) then
begin
Application.MessageBox('指定的数据源文件不存在!', '请您注意', 48);
exit;
end;
if not FileExists(trim(RzButtonEdit1.Text)) then
begin
Application.MessageBox('指定的数据源文件不存在!', '请您注意', 48);
exit;
end;