G
Guest
I am having some issues with append and update queries and I need some help.
I need a query that will pull data from an external data source (Which I can
do) and update my table. Now the external data source table has 20 fields
and the table it is going to update has 25 fields. The extra 5 fields are
populated by the end user via a form and need to be retained after the update
from the external data source. (The end user pulls up the form and view the
20 fields based on the 3 primary keys WorkOrder, WorkCenter, and Item and
then populates the 5 extra fields based on these 3 primary keys). Now the
tricky part is that the WorkOrder and the Item will not change in the
external data source but the WorkCenter may change. So during the update
from the external data source I need to capture these changes as well as new
data added (New WorkOrder, WorkCenter & Item combinations). I am having
trouble with duplicating data etc after the updates. Can some one give me a
hand with the joins and what type of query to use?
I need a query that will pull data from an external data source (Which I can
do) and update my table. Now the external data source table has 20 fields
and the table it is going to update has 25 fields. The extra 5 fields are
populated by the end user via a form and need to be retained after the update
from the external data source. (The end user pulls up the form and view the
20 fields based on the 3 primary keys WorkOrder, WorkCenter, and Item and
then populates the 5 extra fields based on these 3 primary keys). Now the
tricky part is that the WorkOrder and the Item will not change in the
external data source but the WorkCenter may change. So during the update
from the external data source I need to capture these changes as well as new
data added (New WorkOrder, WorkCenter & Item combinations). I am having
trouble with duplicating data etc after the updates. Can some one give me a
hand with the joins and what type of query to use?