WarriorPrincess
Programmer
I have 2 tables in a one-to-many relationship. The "one" table (tblSupplier) contains a SupplierCode field which is unique and is also the primary key. The "many" table (SupplierList) contains data from an imported file which I am going to use to append records to tblSupplier. Field1 contains multiple entries of Supplier codes.
Problem: How do I delete all entries in tblSupplier which have a matching code in SupplierList? The only reasonable way I have come across so far is to add an extra Delete? field in tblSupplier. Do an update query and set the field to True where the fileds match and then do a delete query on all records which have Delete? set to True. This seems somewhat cumbersome and I was hoping that there might be a neater way.
Does anyone have any ideas? TIA
Problem: How do I delete all entries in tblSupplier which have a matching code in SupplierList? The only reasonable way I have come across so far is to add an extra Delete? field in tblSupplier. Do an update query and set the field to True where the fileds match and then do a delete query on all records which have Delete? set to True. This seems somewhat cumbersome and I was hoping that there might be a neater way.
Does anyone have any ideas? TIA