在我本地的编程机器里可以连接并打开数据库,一移到其它工作站就不行了!
请高手帮忙!

解决方案 »

  1.   

    补充一下,我在ADO连接ADOContLocalBeforeConnect中加入如下代码:
    myProvider:='Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="Driver={Microsoft Visual FoxPro Driver};UID=;'
              +'SourceDB='
              +GetCurrentDir+'\data\locaDbc.dbc;'
              +'SourceType=DBC;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;"';
    adocontlocal.ConnectionString:=myProvider;
    在调试机器上运上没问题的,就算移动系统的目录至其它盘也没问题,为什么一到其它机器上就会出现 "驱动程序不支持此项功能"?