adoconnection1.ConnectionString := 'driver={MySQL ODBC 3.51 Driver};server=localhost;uid=root;pwd=111111;database=xiamen';
adoconnection1.Open;
adodataset1.Connection := adoconnection1;
adodataset1.Active := false;
adodataset1.CommandText := 'select * from blh5_operation_list limit 10';
adodataset1.Active := true;
adodataset1.Append;
adodataset1.FieldByName('op_state').AsInteger := 0;
adodataset1.UpdateBatch();
上面代码中 adodataset1.FieldByName('op_state').AsInteger := 0;这一句是什么意思,有什么作用,表中定义op_state字段是op_state` tinyint(1) NOT NULL default '0', 执行后报异常,Field 'paras' doesn't have a default value;
哪个高手知道是什么意思??