Steve,
Sorry, I guess I am not explaining this very well.
The first database collects initial data. This data is then exported to a
2nd database for archiving and deposited into its primary table (including
the ID field).
Then later the user opens the 2nd database to add additional data to the
archived record. This second database resembles the first one except that
its main form has many more fields. All these additional fields contained in
the form are actually from a "second" table in this 2nd (archive) database.
This form can see all these fields because of a query that joins both tables
(The primary one that the original data was improrted into and the one that
will be used to collect additional data later).
The problem stems from the fact that these two joined or linked tables
obviously need to have the same recordID number and presently only the
primary table has this number that it gets upon importing this record.
What I think I need is some kind of code and/or macro/module that performs
the task of automatically creating a new blank record in this second table
with the same record ID# as the newly imported record in the primary table.
Id guess that I would also need some code to cause the db to requery/refresh
the data so that this new record would become immediately visible and
updatable.
Currently, after importing into this second database I have to manually open
the primary table, identify the newly imported record ID#, then open the 2nd
table and create a new record and enter the previously identified record ID#.
Then close the database and reopen it to be able to get the form to view the
record and then be able to add data in the additional fields (which of course
are actually in the 2nd table).
It has been suggested that I simply combine these two tables in my second
(archive) database. However, there appears to be a limit to the number of
fields one can have in a given table, thus I built a second table for the
additional fields. But as you can see, the records of each of these two
table need to be joined "1 to 1."
If I were only entering data through the form itself and was using the
autonumber feature in both tables, again I probably would not have a problem.
But since table #1 only gets its data upon importing and table #2 must be
created at the same time and with the same record ID#, I cannot figure out
how to make this happen.
Thanks.