请教用delphi 4.0编写ms sqlserver6.5 应用时出现'table does not support this operation because it is not uniquely indexed '
whh 2000-03-27 05:40:00 我在sql server 中定义了表inputdv 其中以inputdv.xuhao(identity,not null属性) 为unique index,index的名字为xh ,在delphi中以一database控件连接sql server database,以一表控件table连接表inputdv ,table 的属性
active=true;
tablename=inputdv;
indexfieldname=xuhao;
indexdefs自动变为sql server 中的index--xh;
但在用程序执行sql server的存储过程插入记录到inputdv中时,出现EDBEngine错误
'table does not support this operation because it is not uniquely indexed '