Q&A

  • ADO Connection String
ADOConnection1.Connected := False;

ADOConnection1.ConnectionString := 'Provider=MSDASQL.1; '+
                                         'Persist Security Info=False;'+
                                         'Extended Properties="DSN=dBASE Files;'+
                                         'DBQ = O:\' + FilePath + ';' +
                                         'DefaultDir=O:\'+ FilePath + ';'+
                                         'DriverId=533;'+
                                         'MaxBufferSize=2048;'+
                                         'PageTimeout=30;"';
     ADOConnection1.Connected := True ;

서버에 있는 '.dbf' 화일을 읽어들일려고 하는데 (FilePath와 FileName을 상황에 따라 변경됨)
다음 Error message

EOleException with message'[Microsodt][ODBC dBase Driver]'(unknown)' is not a valid parh. Make sure that the path name is spelled correctly and the you are connected to the server on which th file resides'.

Filepath는 o:\c\d\aaaa.dbf 화일 입니다

서버는 o:\\a\b\c\d 입니다
Filepath 에 서버 FullPath를 넣어도 마찬가지입니다.
고수님들의 도움을 바랍니다. 3일동안 삽질하고 있는중..
0  COMMENTS