View Single Post
  #2  
Old April 23rd, 2010, 12:30 AM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Design for future merging

I didn't notice which version of Access you are using. This is important
because the Replication feature went away for the ?2007 version. If you're
up to it, that might be a way if you're using the earlier (pre- 2007)
versions.

An alternate approach might be to add in a single field that holds the
location. The combination of your autonumber PLUS the
location/facility/site/... will give you a way to identify which records
belong to which site.

Now, if you were trying to use Access Autonumbers as sequence numbers,
you're in for a bit of pain. Access Autonumbers are intended to uniquely
identify rows. That's it! Not guaranteed sequential, can/will have missing
values.

Good luck!

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"Rlong via AccessMonster.com" u58125@uwe wrote in message
news:a6ee3a8f8ad28@uwe...
I've created a small but somewhat complex relational database that uses
autonumber fields in higher level tables as primary keys to link with
foreign
keys in lower level tables. At this point I have up to 5 levels of tables.
I'd like to copy this database for use at 4 other remote sites, with the
ultimate intention of merging all 5 back together after a few months of
data
entry. I've read quite a bit about how to merge databases that weren't
originally designed with future merges in mind, and this ends up being
quite
complex with so many levels and autonumber-dependent tables. I'm wondering
if
there is a way that I can create the duplicate databases from the outset
that
would make future merging easier?

For instance, by causing the autonumbers at each different site to either
start at a particular point (e.g., one site be the 100000s and another the
200000s), or, by using the "random" setting for autonumber such that no
two
autonumbers in the same table were identical (although my sense is that
"random" introduces its own problems).

Any thoughts on how to make the future merge easier would be helpful.

Thanks

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...esign/201004/1