My question is this:
How do I go about creating a procedure that will interrogate each table (on completion of the 'common_fields' form) and APPEND the record if the ID isn't found in the destination table, or UPDATE the destination table's record if the ID is found?
Scenario background:
I have an Access 2007 database comprising two tables at present (probably 5 by the time I'm finished). In certain situations the input into some fields in one table will need to be replicated in a similar set of fields in the other table. I cannot join the tables as it will result in more than 255 fields.
Hence, I have created a third table containing the fields common to both these tables and want the user to fill in the common information in the third table's form. I then propose to APPEND this data to each of the two tables, if the form's ID doesn't exist in the destination table, or UPDATE the existing data in the destination table if it already exists - before presenting the user with a partially completed form for each of these two tables with only the blank fields to complete and possibly edit some fields before saving.

Scenario background:
I have an Access 2007 database comprising two tables at present (probably 5 by the time I'm finished). In certain situations the input into some fields in one table will need to be replicated in a similar set of fields in the other table. I cannot join the tables as it will result in more than 255 fields.
Hence, I have created a third table containing the fields common to both these tables and want the user to fill in the common information in the third table's form. I then propose to APPEND this data to each of the two tables, if the form's ID doesn't exist in the destination table, or UPDATE the existing data in the destination table if it already exists - before presenting the user with a partially completed form for each of these two tables with only the blank fields to complete and possibly edit some fields before saving.
Last edited: