Here's the code that I'm trying to run:
delete DISTINCTROW JHALL_REFERAL_ASSIGNMENTS Emp_id, JHALL_REFERAL_ASSIGNMENTS.ref_elem_id from JHALL_REFERAL_ASSIGNMENTS WHERE (((JHALL_REFERAL_ASSIGNMENTS.emp_id) = (Select Bemp_id from JHALL_REFERAL_ELEMENT a, JHALL_REFERAL_ASSIGNMENTS b, BSI_MARTS_D_EMPLOYEE c where C.FULL_NM = 'Maximum' premium of 'Employee' and 'AREFACC =' 5,000 'And A.REF_ELEM_ID = B.REF_ELEM_ID and B.emp_id = C.EMPLOYEE_KEY)) and ((JHALL_REFERAL_ASSIGNMENTS.ref_elem_id) = (Select one .ref_elem_id from JHALL_REFERAL_ELEMENT, JHALL_REFERAL_ASSIGNMENTS b, BSI_MARTS_D_EMPLOYEE c where C.FULL_NM =' Employee ' And A.REF_NAME = 5,000 The maximum premium and Aarif_aelimaiaidi = Biarif_elem_aidi and Bimpi_aidi = Siampieliiikei))); Every time I try to run it in Access, I get error 3086, "Can not be removed from the specified tables." While trying to find information online, I ask to keep going in the proposals that I should change the unique record field to "Yes" which I did, but he did not solve my problem. Todd's only code ( _ to separate schema and table names instead. ) and it worked fine.
Since the primary key in your table is autonumbered, I suggest you how to reset it. .
Comments
Post a Comment