|
|
#2
xu20002006-05-13 09:15
|
adoquery2.Close;
adoquery2.SQL.Clear;
adoquery2.SQL.add('update T_teacher set Tdirection='''+edit1.Text+'''');
adoquery2.SQL.add('update T_teacher set Tsort='''+edit2.Text+'''');
adoquery2.SQL.add('update T_teacher set Tdoctor='''+edit3.Text+'''');
adoquery2.SQL.add('update T_teacher set Tmaster='''+edit5.Text+'''');
adoquery2.SQL.add('update T_teacher set Tdate='''+edit4.Text+'''');
adoquery2.SQL.Add('select T_teacher.* from T_teacher,T_member where T_teacher.Tmcode=T_member.Mcode');
adoquery2.ExecSQL;
adoquery2.Active:=false;
adoquery2.Active:=true;