运行环境 windows 2000 server,sybase GA 12.5.1, 客户端 delphi7数据库仅一表
create table DBD
(
  D1  numeric(4) not null,
  D2  varchar(13) not null,
  constraint PK_DBD  PRIMARY KEY (D2)
)在delphi中用 insert 语句可插入数据到 DBD,而用 dbgrid 直接输入,在 D1 列输入后要移开,就提示 'translate error,value out of bounds',而将 D1 表的D1字段改为 integer 类型,则可以在 dbgrid 中输入,不知到是什么问题 ?