主题:求助:请各位帮忙看看这个语句错在哪
connect是一个被调用的数据库连接模块
try connect.ADOConnection1.Open;
connect.ADOConnection1.GetTableNames(TableList.Items);
except
showmessage('Sorry! Can not esbilished this connection!');
try connect.DatabaseBDE.Open;
connect.DatabaseBDE.GetTableNames(TableList.Items);
except
showmessage('Sorry! Can not esbilished this connection!');
调试后出现record,object,or class type requred这样的提示,是怎么回事啊
try connect.ADOConnection1.Open;
connect.ADOConnection1.GetTableNames(TableList.Items);
except
showmessage('Sorry! Can not esbilished this connection!');
try connect.DatabaseBDE.Open;
connect.DatabaseBDE.GetTableNames(TableList.Items);
except
showmessage('Sorry! Can not esbilished this connection!');
调试后出现record,object,or class type requred这样的提示,是怎么回事啊