with ClientDataSet1 do
begin
Close;
CommandText:='select * from tablename where fieldname=:var1';
Params.ParamByName('var1').AsString:=Edit1.Text;
Try
Open;
except
MessageBox(0,'不能打开数据表','错误',MB_OK OR MB_ICONERROR);
end;
end;
在服务端中定义了一个GetAllTables方法,在客户端中用DCOM调用
DCOMConnection1.AppServer.GetAllTables();
调试时提示“Mether GetAllTables do not supported by automation object"
应如何使用?