مرحباااااااااا
ما هى جملة ال SQL
التى تستخدم لحذف جدولين Mater and Details
بدون ما أستخدم طريقة مسح من ال Details الاول وبعد ذلك أمسح من ال Master
أو العكس
علما بأنى جربت هذا الكود ولم يفلح
dim StrDelete as string StrDelete="delete from table1 inner join table2 on table1.clum=table2.clun where table1.clum=1 ولم يفلح هذا الكود فجربت الاخر dim StrDelete as string StrDelete ="delete from (select * from table1 left join table2 on table1.clum=table2.clun)where table1.clum=1
ولم يفح أيضا أرجو الافادة
تحياتى...... ;) .