If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Using the Update query
I am using the update query to move records from one table to another table.
How do I delete the record in the originating table once the query is finished? I am assigning licenses to people and want tp remove the record in the In Stock table. Thanks for any help you can give. |
#2
|
|||
|
|||
Using the Update query
It will have to be a two step process. You'll need a second query with the
same criteria to delete the records. It's almost always a bad idea to move data from one table to another. To find out what is in both tables, you'll need a union query which are slow and inefficient. You are much better off putting a Yes/No field named something like Processed in the first table and update it to Yes when you no longer want to see these records at times. Your select query would have criteria of No in that field to fine all the records not processed. -- Jerry Whittle, Microsoft Access MVP Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder. "DJ in Dallas" wrote: I am using the update query to move records from one table to another table. How do I delete the record in the originating table once the query is finished? I am assigning licenses to people and want tp remove the record in the In Stock table. Thanks for any help you can give. |
Thread Tools | |
Display Modes | |
|
|