J
janaki
OK, i created a problem for myself, and am trying to figure out how to fix it
(and wishing i could blame someone else for my lack of foresight!!!)
my database contains 9 tables (actually, 12, but 3 of them are just for use
by calculations in queries). the table, [Baseline], contains the bulk of the
information on individual record (one record per person). 2 of the others
are linked to provide grouping by location (city and country codes)-those
work great and aren't a problem. it's the other 6 tables, which i originally
had linked to [Baseline] by the autonumber field [Baseline].UID. i decided,
at the beginning, to use the autonumber because i couldn't rely on any user
entered data that would be reliably unique, and not create duplicate keys.
my problem now is that i have to merge data from 6 different countries,
where users have entered data into separate Access files....of course, the
autonumber is field is preventing the import of records with identical UID
values.
i patched a crummy work-around, which simply adds 1000, or 2000, or 3000,
etc to the UID in the db files that i'm importing from (after changing the
field properties from "autonumber" to "number", of course!), and then
importing into the merged db....but this obviously has limitations.
is there a better, more elegant way to fix this?? i am SO regretting using
autonumber now!!!
TIA-
(and wishing i could blame someone else for my lack of foresight!!!)
my database contains 9 tables (actually, 12, but 3 of them are just for use
by calculations in queries). the table, [Baseline], contains the bulk of the
information on individual record (one record per person). 2 of the others
are linked to provide grouping by location (city and country codes)-those
work great and aren't a problem. it's the other 6 tables, which i originally
had linked to [Baseline] by the autonumber field [Baseline].UID. i decided,
at the beginning, to use the autonumber because i couldn't rely on any user
entered data that would be reliably unique, and not create duplicate keys.
my problem now is that i have to merge data from 6 different countries,
where users have entered data into separate Access files....of course, the
autonumber is field is preventing the import of records with identical UID
values.
i patched a crummy work-around, which simply adds 1000, or 2000, or 3000,
etc to the UID in the db files that i'm importing from (after changing the
field properties from "autonumber" to "number", of course!), and then
importing into the merged db....but this obviously has limitations.
is there a better, more elegant way to fix this?? i am SO regretting using
autonumber now!!!
TIA-