判断文件是否存在

  //判断文件是否存在
  if not FileExists(trim(RzButtonEdit1.Text)) then
  begin
    Application.MessageBox('指定的数据源文件不存在!', '请您注意', 48);
    exit;
  end;
posted @ 2009-12-14 10:03  bingege  阅读(216)  评论(0编辑  收藏  举报