Hi
I am not rightly sure where to start with the logic with this and not exactly an expert either
The outline is I need to update client information in main table with information provided by my colleagues. This information may either exist already or be an additional client.
I have a Primary Table "ClientData" and another table called "TempUpdate" - my goal is to run some code that checks to see if the client code exists in ClientData and if it does run an update query with that record else run an append query for it to add the record. The source of the new data is TempUpdate which would contain many records for updating/adding.
Has anyone any suggestions please on how I would go about such a task, reviewing each row in my temp table to decide whether it should be added or updated?
Thanks in advance for reading this and for any suggestions you can offer,
Regards
Rob
I am not rightly sure where to start with the logic with this and not exactly an expert either
The outline is I need to update client information in main table with information provided by my colleagues. This information may either exist already or be an additional client.
I have a Primary Table "ClientData" and another table called "TempUpdate" - my goal is to run some code that checks to see if the client code exists in ClientData and if it does run an update query with that record else run an append query for it to add the record. The source of the new data is TempUpdate which would contain many records for updating/adding.
Has anyone any suggestions please on how I would go about such a task, reviewing each row in my temp table to decide whether it should be added or updated?
Thanks in advance for reading this and for any suggestions you can offer,
Regards
Rob