R
Rick
Hi,
How would I update data in one table with data from
another table, for only those fields that exist in both
tables?(matching the records by using a primary key field
of course). I am familiar with update queries but have
only seen where it is possible to hard code the actual
field names in the query. Since the fields will be
changing in one of the tables, I can't do this (i.e. if I
set the update query to update the phone number field and
the next time I run the query the one table no longer has
a phone number field, I run into problems). I need it to
match the tables on a primary key (that IS always there),
and update any fields that are found in both tables.
Thanks for any help,
-Rick
How would I update data in one table with data from
another table, for only those fields that exist in both
tables?(matching the records by using a primary key field
of course). I am familiar with update queries but have
only seen where it is possible to hard code the actual
field names in the query. Since the fields will be
changing in one of the tables, I can't do this (i.e. if I
set the update query to update the phone number field and
the next time I run the query the one table no longer has
a phone number field, I run into problems). I need it to
match the tables on a primary key (that IS always there),
and update any fields that are found in both tables.
Thanks for any help,
-Rick