Hi all!
I've replicated my Access DB using briefcase in winXP. All Autonumber
PK changed to random number. They were increment b4. Fortunately i
could recover it through my backup. I just want to know if there's
anyway to replicate the tables without letting the windows to change
my design? Thanks in advance..
Myo 8 2001
No, this is by design, and how Jet replication is documented.
--
MichKa [MS]
NLS Collation/Locale/Keyboard Development
Globalization Infrastructure and Font Technologies
Windows International Division
This posting is provided "AS IS" with
no warranties, and confers no rights.
"Myo" <mh********@yah oo.co.uk> wrote in message
news:8d******** *************** **@posting.goog le.com... Hi all!
I've replicated my Access DB using briefcase in winXP. All Autonumber PK changed to random number. They were increment b4. Fortunately i could recover it through my backup. I just want to know if there's anyway to replicate the tables without letting the windows to change my design? Thanks in advance..
Myo
Sorry.. my request was incomplete. Yes.. the design has changed to
random number. I dont want it to change. The records are fine, but when
i tried to add a new record, it starts giving me random numbers. I just
wanted increments.
Thanks 4 ur reply.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
On 22 Aug 2004 02:23:20 GMT, M Lynn <mh********@yah oo.co.uk> wrote:
If you don't want the design to change to Random, don't use Briefcase
or any other form of replication.
Too bad you care what the values of your autonumbers are. This is a
FAQ: it has been argued here many times (just check with
groups.google.c om) that this is a bad idea.
-Tom. Sorry.. my request was incomplete. Yes.. the design has changed to random number. I dont want it to change. The records are fine, but when i tried to add a new record, it starts giving me random numbers. I just wanted increments.
Thanks 4 ur reply.
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
M, think about what you are asking for.
You want a replica, so presumably you want to use the database at 2 or more
locations at the same time, and then synchronize. At location A, you want to
be able to add a new record, and get the next number, not a random one. At
location B, you also want a new record to get be given the next available
number, but they must not be given the same number???
There is good reason why replicas cannot use sequential numbering. (And you
can trust anything that michka says about replication.)
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"M Lynn" <mh********@yah oo.co.uk> wrote in message
news:41******** **************@ news.newsgroups .ws... Sorry.. my request was incomplete. Yes.. the design has changed to random number. I dont want it to change. The records are fine, but when i tried to add a new record, it starts giving me random numbers. I just wanted increments.
"M Lynn" <mh********@yah oo.co.uk> wrote in message
news:41******** **************@ news.newsgroups .ws... Sorry.. my request was incomplete. Yes.. the design has changed to random number. I dont want it to change. The records are fine, but when i tried to add a new record, it starts giving me random numbers. I just wanted increments.
Thanks 4 ur reply.
Access Jet Replication was junk from the beginning, and now it is obsolete
junk. Don't use it.
Sorry, you can't have that -- replication does not work that way.
--
MichKa [MS]
NLS Collation/Locale/Keyboard Development
Globalization Infrastructure and Font Technologies
Windows International Division
This posting is provided "AS IS" with
no warranties, and confers no rights.
"M Lynn" <mh********@yah oo.co.uk> wrote in message
news:41******** **************@ news.newsgroups .ws... Sorry.. my request was incomplete. Yes.. the design has changed to random number. I dont want it to change. The records are fine, but when i tried to add a new record, it starts giving me random numbers. I just wanted increments.
Thanks 4 ur reply.
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
Myo wrote: Hi all!
I've replicated my Access DB using briefcase in winXP. All Autonumber PK changed to random number. They were increment b4. Fortunately i could recover it through my backup. I just want to know if there's anyway to replicate the tables without letting the windows to change my design? Thanks in advance..
First the golden rule of AutoNumber: The User Doesn't See it!
After observing that rule it's easy to work out that increment or
random, it doesn't matter, computers aren't fussy, as long as it's
unique is all it cares about.
IOW if your number is supposed to mean something to a human, don't use
AutoNumber. If you need an incrementing number you should roll your own
(plenty of examples in the google archive).
Your problem will be from using multiple sites all wanting an
incrementing number, it would be quite slow if a satellite site was t
oconnect to the main site to get the next number so you need another method.
The way I do for multiple warehouse receipt numbers is
WarehouseNo/Increment, if you must have only one series of numbers you
could pool them, IOW when satellite connects to main to replicate you
also then look at the number pool and take say if you expect 10
transactions before next replication take 15 numbers minus the number of
numbers you had left over from last replication.
--
\\\\\\
\\ \\ Windows is searching
\ \ For your sig.
\ \ Please Wait.
\__\
Trevor Best <nospam@localho st> wrote in
news:41******** *************** @auth.uk.news.e asynet.net: The way I do for multiple warehouse receipt numbers is WarehouseNo/Increment, if you must have only one series of numbers you could pool them, IOW when satellite connects to main to replicate you also then look at the number pool and take say if you expect 10 transactions before next replication take 15 numbers minus the number of numbers you had left over from last replication.
The easier way to do this in a replicated database is to use a
compound key, one column indicating the replica, and the second the
unique ID in that replica's data set.
Of course, if you really need a human-readable number in sequence,
you're going to have to pre-allocate ranges of numbers to each
replica, as you say.
From my point of view, jet replication has simply been made obsolete
by the ease of use and cheapness of implementing Windows Terminal
Server. The only scenario I can think of where that won't work is
something like laptop users who have to work disconnected in the
field and then connect to the home base to synch. Replication is
still viable there, but I don't see much need for something like
invoice numbers in that scenario, since the folks in the field are
not going to be responsible for billing (work order numbers or
quotation numbers or something like that could easily be uniquely
keyed to the replica or to the user who created them).
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Sims |
last post by:
Hello All,
Anybody out there know what this error is...I'm getting it while
trying to create a partial replica from a full replica made from the
design master.
"The Partial Replica Wizard has encountered an error while trying to
populate your partial replica with data. The error that the Jet
Engine has returned is: Reserved error (-1613); there is no message
for this error. After resolving this error, you can run the Wizard
|
by: manning_news |
last post by:
Using A2K. I've researched this newsgroup and can't find the answer to
my question. As we all know, when a database is turned into a Design
Master, another database is created called "Replica of {database
name}". Can that replica then be moved (not copied but moved) to a
laptop?
A previous database developer set up a replica for a department who
uses a laptop. A copy of the replica is on the laptop but then there's
a copy of the...
|
by: manning_news |
last post by:
Using A2K. I found a database front-end linked to a back-end which is
a Design Master. I was advised in another newsgroup to not use the DM
for a back-end; use the replica instead. So, there is a replica
sitting out there in the same folder as the DM that hasn't been
accessed for a while. I assume it is the one that was created when the
DM was created.
Any problems with syncing the replica, then changing the f-e to link to
the...
|
by: Shiva |
last post by:
Hi,
In my partial replica only the contents of a few tables is being updated /
synchronized when I synchronize it with another replica. Is it possible to
find out which tables are synchronized? I took a look at the properties of
the table, but to no avail.
Thanks a lot.
|
by: Shiva |
last post by:
Hi,
I'm trying to get familiar with the concept of replica's, but it still
confuses me a bit.
Here's my situation:
1) my database application, *.mdb file, should be distributed from time to
time to a friend of mine. His copy of the database is completely detached
from my database (no connection through shared networks, internet etc).
2) I'll keep the design master, my friend should only have replica's
| |
by: MAILTONRK |
last post by:
Hi,
I am a Mainframe guy. I am working with MS access(maintaining a
application) for the last 2 weeks.
I had one master database and four replicas. One of my replica had
trouble in synchronization(It said, database is in use..). After
searching google, I ran "Compact and repair" utlity against my replica.
It looks like, it has changed the attribute of my replica.
|
by: roypython |
last post by:
Hello everyone.
Your help is very much appreciated.
I am trying to create partial replica from the design master.
it all goes well until I try to set the filter using:
repPartial.Filters.Append "Customers",jrFilterTypeTable,"Customers.Region = 'CA' "
It throws an error:
"Invalid expression in the ReplicaFilter property".
The replica db, does contain "Customers" table, which has "Region" field.
|
by: roypython |
last post by:
Hello everyone.
Your help is very much appreciated.
I am using MS ACCESS 2003.
I am trying to create partial replica from the design master.
it all goes well until I try to set the filter using:
repPartial.Filters.Append "Customers",jrFilterTypeTable,"Customers.Region = 'CA' "
It throws an error:
"Invalid expression in the ReplicaFilter property".
The replica db, does contain "Customers" table, which has "Region" field.
|
by: PaulaCM |
last post by:
Okay -
so, I made some design changes in my Master Document and when I tried to synch them with the replica it told me that I couldn't (because I made design changes).
I can't change the design of the replica, because it's not the master (in order to make them synch up).
I can't just create a new replica because (even though I told them not to!) other users in my office have used the replica instead of the master to update information....
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |