17
ห้อง MS Access / : ตรวจสอบข้อมูลตาราง ถ้าไม่ตรงกันให้ลบออก
« เมื่อ: 14 ต.ค. 64 , 15:04:14 »
docmd.runsql "Delete from BB where รหัส not in (select รหัส from AA)"
หรือ สร้าง Delete คิวรี่ จากตาราง BB ตรงฟิวด์รหัส ใส่ criteria not in (select รหัส from AA)
หรือ สร้าง Delete คิวรี่ จากตาราง BB ตรงฟิวด์รหัส ใส่ criteria not in (select รหัส from AA)