procedure TForm34.DBCheckBox13Click(Sender: TObject);
begin
IF DBCheckBox13.Checked = true then
IBQuery1.SQL.clear;
IBQuery1.SQL.Add('update setup set m_2_m = 1 ');
IBQuery1.SQL.Add(' where id = 2 ');
IBQuery1.Active:= true;
IF DBCheckBox13.Checked = False then
IBQuery1.SQL.clear;
IBQuery1.SQL.Add('update setup set m_2_m = 2 ');
IBQuery1.SQL.Add(' where id = 2 ');
IBQuery1.Active:= true;
end;
end.تم تعديل هذه المشاركة بواسطة romanof في 25 مارس 2006 في 00:01