I’m trying to either create a query (or queries) or write some code that either updates or appends data from one table (ACTION) to another table (LOCATION).
If a LABEL field value already exists in the table ACTION, I want to “update” the ADDRESS field in ACTION to the value in the ADDRESS field in the table LOCATION.
If a LABEL field value does not exist in the table ACTION, I want to add the LABEL field and the ADDRESS field in ACTION to the values in the LABEL and ADDRESS fields in the table LOCATION.
In other words if LABEL exists, update other wise append. I don’t want duplicate LABELS.
Any suggestions would be greatly appreciated.
Thanks,
SKK
If a LABEL field value already exists in the table ACTION, I want to “update” the ADDRESS field in ACTION to the value in the ADDRESS field in the table LOCATION.
If a LABEL field value does not exist in the table ACTION, I want to add the LABEL field and the ADDRESS field in ACTION to the values in the LABEL and ADDRESS fields in the table LOCATION.
In other words if LABEL exists, update other wise append. I don’t want duplicate LABELS.
Any suggestions would be greatly appreciated.
Thanks,
SKK