I need to copy a row, or multiple rows, from one table into another table and then delete it out of the first table, all based on the reults of a query.
Here is my sql statement for that query (named HasItBeenShippedQuery):
SELECT Job_Table.Ticket_Number, Job_Table.Ship_Sig
FROM Job_Table
WHERE (((Job_Table.Ship_Sig)<>""));
The name of the original table is Jobs_Table, the new table is Completed_Jobs_Table. The Completed_Jobs_Table will be appended to.
Will someone help me with the code to copy and delete? I am using a command button to run it and there will be no other user intervention.
Thanks,
Nateofmt
Here is my sql statement for that query (named HasItBeenShippedQuery):
SELECT Job_Table.Ticket_Number, Job_Table.Ship_Sig
FROM Job_Table
WHERE (((Job_Table.Ship_Sig)<>""));
The name of the original table is Jobs_Table, the new table is Completed_Jobs_Table. The Completed_Jobs_Table will be appended to.
Will someone help me with the code to copy and delete? I am using a command button to run it and there will be no other user intervention.
Thanks,
Nateofmt