Hi,
I have created a new Training DB in Access 2007 (MS Office 2010). As a housekeeping tool I have created append queries that copy the Training, Qualification and Employee records to appropriate archive tables and this works fine.
Problem is in creating the Delete Queries for each to remove them from the main DB. Each delete query uses 2 tables - Employee which identifies the who the records belong to via Resigned "Yes/No" - I use Yes as the criteria. The other table is the table from which the records are deleted.
It is probably something really silly but all I get is the above error and I have spent too many hours playing without result. I did complete a short course some years ago but am not conversant with Visual Basic or Syntax code.
I hope I have attached a copy of one of the queries.
Many thanks
I have created a new Training DB in Access 2007 (MS Office 2010). As a housekeeping tool I have created append queries that copy the Training, Qualification and Employee records to appropriate archive tables and this works fine.
Problem is in creating the Delete Queries for each to remove them from the main DB. Each delete query uses 2 tables - Employee which identifies the who the records belong to via Resigned "Yes/No" - I use Yes as the criteria. The other table is the table from which the records are deleted.
It is probably something really silly but all I get is the above error and I have spent too many hours playing without result. I did complete a short course some years ago but am not conversant with Visual Basic or Syntax code.
I hope I have attached a copy of one of the queries.
Many thanks