This will only work if you have a unique fld ie Primary key fld set in the table. eg CodeID, Autonumber. As a rule tables should have a unique fld - Primary key (except if they are very simple lookup tbls with only a couple of records in them).
You can do this with 2 (cascading) qrys, ie the...