client2.CommandText :='update user set constrain=:str where loginid=:login';
client2.Params.Clear;
Client2.Params.CreateParam(ftString,'id',ptInput);
Client2.Params.CreateParam(ftString,'idin',ptInput);
client2.Params [0].AsString:='2,3,4,5,11,';
client2.Params[1].AsString:='12001';
client2.Active :=true;
client2.applyupdates(-1);
这样做对吗?为什么会报错:'error creating cursor handle'