SourceDB问题(20分)

  • 主题发起人 主题发起人 tswhq
  • 开始时间 开始时间
T

tswhq

Unregistered / Unconfirmed
GUEST, unregistred user!
InputData.Close ;
InputData.ConnectionString :='Provider=MSDASQL.1;Persist Security Info=False;Data Source=dBASE Files;SourceDB='+ExtractFilePath(ShPath.Text);
InputData.CommandText :='Select * From '+ExtractFileName(ShPath.Text);

运行时报错:odbc找不到 shpath/下的数据库文件???
 
自己搞定
Initial Catalog=Path
不能用
SourceDB=Path
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
后退
顶部