05-06-2012, 10:04 PM
شكرا لكم جميعا
لقد نجحت العملية ودلك بربط الجداول مع بعضها بحقل مشترك
وبالتالي عند حدف تسجيلة من الجدول الاول تحدف ايضا من الجداول الاخرى المرتبطة معه
كود PHP:
procedure TForm1.BitBtn2Click(Sender: TObject);
begin
Table1.Open;
if table1.RecordCount>0 then
if MessageDlg('Voullez vous vraiment supprimer cet enregistrement ?', MtConfirmation, MbOkCancel,0)=mrok
then
begin
table1.Delete;
table2.Delete
table3.Delete
end;
end;
لقد نجحت العملية ودلك بربط الجداول مع بعضها بحقل مشترك
وبالتالي عند حدف تسجيلة من الجدول الاول تحدف ايضا من الجداول الاخرى المرتبطة معه
كود PHP:
procedure TForm1.BitBtn2Click(Sender: TObject);
begin
Table1.Open;
if table1.RecordCount>0 then
if MessageDlg('Voullez vous vraiment supprimer cet enregistrement ?', MtConfirmation, MbOkCancel,0)=mrok
then
begin
table1.Delete;
table2.Delete
table3.Delete
end;
end;

