P
Penny
Hi all,
I built a multi user access database(split with MDE FE's on clients - BE on
office server) a year ago with little prior experience and implemented a
custom self incrementing id number (CandidateID) as a friend suggested. The
Candidate ID needs to be in a consistent format as our regulatory laws
require it so. We started at Candidate ID 450 and are now at around 600.
The Candidate ID is also the primary key for the table. All this has worked
beautifully until now as I have just replicated the database(BE only) to
allow for synchronization between server and laptops when a staff member has
been working away.
To allow the users to work on the database 'at home' they have an extra
version of the FE MDE on the laptop connected to a replicated version of
the BE in a 'windows briefcase' also on their laptops. They use this second
FE/BE pair only when off the network. They sychronize the 'offline BE' and
server BE as they leave the office and again when returning to the office
if they made any changes while away.
Thing is, if they've added a new Candidate while away there may be a new
Candidate added to the Server BE in the meantime and they will often have
the same Candidate ID as each version of the database has added 1 to the
last Candidate ID number which on both of them may have been 589 at the
time. Hope this is clear. Must be a common problem and maybe a large design
oversight on my part.
There is coverage of using a 'custom autonumber routine' in the A2K2
Enterprise Dev Handbook but it doesn't seem to address
my particular issue.
Any ideas on how to resolve this issue?
Regards
Penny.
I built a multi user access database(split with MDE FE's on clients - BE on
office server) a year ago with little prior experience and implemented a
custom self incrementing id number (CandidateID) as a friend suggested. The
Candidate ID needs to be in a consistent format as our regulatory laws
require it so. We started at Candidate ID 450 and are now at around 600.
The Candidate ID is also the primary key for the table. All this has worked
beautifully until now as I have just replicated the database(BE only) to
allow for synchronization between server and laptops when a staff member has
been working away.
To allow the users to work on the database 'at home' they have an extra
version of the FE MDE on the laptop connected to a replicated version of
the BE in a 'windows briefcase' also on their laptops. They use this second
FE/BE pair only when off the network. They sychronize the 'offline BE' and
server BE as they leave the office and again when returning to the office
if they made any changes while away.
Thing is, if they've added a new Candidate while away there may be a new
Candidate added to the Server BE in the meantime and they will often have
the same Candidate ID as each version of the database has added 1 to the
last Candidate ID number which on both of them may have been 589 at the
time. Hope this is clear. Must be a common problem and maybe a large design
oversight on my part.
There is coverage of using a 'custom autonumber routine' in the A2K2
Enterprise Dev Handbook but it doesn't seem to address
my particular issue.
Any ideas on how to resolve this issue?
Regards
Penny.