iID := 2;
    if ClientDataSet.Locate('id', iID, []) then showmessage('OK') ;上面代码中 字段 id 是SQLSERVER数据库中种子递增 字段,并且是主键,运行代码的时候发现
ClientDataSet.Locate 方法出现异常“Constant is not correct type 1”,哪位大侠知道这是怎么回事啊?怎么解决呢??谢谢!!!!