473,395 Members | 1,454 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Access database corrupted - Relationship between related tables LOST

I'm using Access 2002, as front-end and back-end as well:

1) I faced database corrupted problems, when more than 1 user edit
concurrently.
I'm using All-records Locking, and open-exclusively as default.
But, still face the same problem: Database corrupted! (But, it allows
to be repaired)

2) I found that the relationship linkage between those related
tables(which corrupted) was disconnected/lost after problem (1)
occured. Is there anyway to prevent this happen or to master-lock the
relationship?

3) I know too little about SQL server, but I'm going (have to)to move
my database into SQL Server as back-end db. Any important steps/things
should me know before i do this? or anyway tool or better way of doing
this. Any guides and full instruction available in converting access
db into SQL db while remaining the access forms, queries, macro,
reports, VB scripts as front-end.

I need those who expert in this help me... THANKS : )

LEINAD
IT SERVICES DEPARTMENT

Anyone who can advise me on this problem
Nov 13 '05 #1
3 4052
HI Leinad

It is possible to get Access running very reliably as a multi-user database.

The default locking (optimistic locking, also called 'no locks') is the best
approach for nearly everyone, and is certainly the most tested scenario. I
would encourage you to choose that option unless you have a reason not to.

Other suggestions for preventing corruption are in this article:
http://allenbrowne.com/ser-25.html
The article explains the most common cause of corruption. Please take
seriously the comments regarding the kind of network you can use, splitting
the database so each user has their own front end, ensuring that everyone
has at least SP2 for Office 2002, *and* SP8 for JET 4, turning off Name
AutoCorrect, and working around the LinkChildFields bug.

--
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.

"Leinad Kong" <ks****@hotmail.com> wrote in message
news:39************************@posting.google.com ...
I'm using Access 2002, as front-end and back-end as well:

1) I faced database corrupted problems, when more than 1 user edit
concurrently.
I'm using All-records Locking, and open-exclusively as default.
But, still face the same problem: Database corrupted! (But, it allows
to be repaired)

2) I found that the relationship linkage between those related
tables(which corrupted) was disconnected/lost after problem (1)
occured. Is there anyway to prevent this happen or to master-lock the
relationship?

3) I know too little about SQL server, but I'm going (have to)to move
my database into SQL Server as back-end db. Any important steps/things
should me know before i do this? or anyway tool or better way of doing
this. Any guides and full instruction available in converting access
db into SQL db while remaining the access forms, queries, macro,
reports, VB scripts as front-end.

I need those who expert in this help me... THANKS : )

LEINAD
IT SERVICES DEPARTMENT

Anyone who can advise me on this problem

Nov 13 '05 #2
Thanks Allen.

But i'm still doubt of using "No Locks" will be the best solution.
Because i changed from it to "Edited Lock", and it caused "less"
corruption.

And why does more restrictive "lock" may cause more conflicts?

Another question:
How do i apply lock to avoid user to edit the same record at the same
time within a form where there are main form(use table with 1 primary
key-"A") and sub form (use table with 2 primary key -"A" & "B"), they
are linked with "A".
It seems like the "page-locking" locked all records whenever only 1
user is editing 1 record. Is there any way of doing it?

Leinad

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message news:<41***********************@per-qv1-newsreader-01.iinet.net.au>...
HI Leinad

It is possible to get Access running very reliably as a multi-user database.

The default locking (optimistic locking, also called 'no locks') is the best
approach for nearly everyone, and is certainly the most tested scenario. I
would encourage you to choose that option unless you have a reason not to.

Other suggestions for preventing corruption are in this article:
http://allenbrowne.com/ser-25.html
The article explains the most common cause of corruption. Please take
seriously the comments regarding the kind of network you can use, splitting
the database so each user has their own front end, ensuring that everyone
has at least SP2 for Office 2002, *and* SP8 for JET 4, turning off Name
AutoCorrect, and working around the LinkChildFields bug.

--
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.

"Leinad Kong" <ks****@hotmail.com> wrote in message
news:39************************@posting.google.com ...
I'm using Access 2002, as front-end and back-end as well:

1) I faced database corrupted problems, when more than 1 user edit
concurrently.
I'm using All-records Locking, and open-exclusively as default.
But, still face the same problem: Database corrupted! (But, it allows
to be repaired)

2) I found that the relationship linkage between those related
tables(which corrupted) was disconnected/lost after problem (1)
occured. Is there anyway to prevent this happen or to master-lock the
relationship?

3) I know too little about SQL server, but I'm going (have to)to move
my database into SQL Server as back-end db. Any important steps/things
should me know before i do this? or anyway tool or better way of doing
this. Any guides and full instruction available in converting access
db into SQL db while remaining the access forms, queries, macro,
reports, VB scripts as front-end.

I need those who expert in this help me... THANKS : )

LEINAD
IT SERVICES DEPARTMENT

Anyone who can advise me on this problem

Nov 13 '05 #3
If you lock all records, you will certainly get conflicts more often, i.e.
you will get a conflict if another user tries to edit *any* part of the
table. It is also more likely to cause you problems because it is less
tested, i.e. if there are millions of Access databases running with "No
Locks", the chance of uncovering a bug is large, whereas if there are only a
handful runnning locking "All Records" you are much more like to find a
problem that has not been uncovered before.

If the subform is based on a different table, it should not cause a locking
issue.

--
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.

"Leinad Kong" <ks****@hotmail.com> wrote in message
news:39************************@posting.google.com ...
Thanks Allen.

But i'm still doubt of using "No Locks" will be the best solution.
Because i changed from it to "Edited Lock", and it caused "less"
corruption.

And why does more restrictive "lock" may cause more conflicts?

Another question:
How do i apply lock to avoid user to edit the same record at the same
time within a form where there are main form(use table with 1 primary
key-"A") and sub form (use table with 2 primary key -"A" & "B"), they
are linked with "A".
It seems like the "page-locking" locked all records whenever only 1
user is editing 1 record. Is there any way of doing it?

Leinad

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message

news:<41***********************@per-qv1-newsreader-01.iinet.net.au>...
HI Leinad

It is possible to get Access running very reliably as a multi-user database.
The default locking (optimistic locking, also called 'no locks') is the best approach for nearly everyone, and is certainly the most tested scenario. I would encourage you to choose that option unless you have a reason not to.
Other suggestions for preventing corruption are in this article:
http://allenbrowne.com/ser-25.html
The article explains the most common cause of corruption. Please take
seriously the comments regarding the kind of network you can use, splitting the database so each user has their own front end, ensuring that everyone has at least SP2 for Office 2002, *and* SP8 for JET 4, turning off Name
AutoCorrect, and working around the LinkChildFields bug.
"Leinad Kong" <ks****@hotmail.com> wrote in message
news:39************************@posting.google.com ...
I'm using Access 2002, as front-end and back-end as well:

1) I faced database corrupted problems, when more than 1 user edit
concurrently.
I'm using All-records Locking, and open-exclusively as default.
But, still face the same problem: Database corrupted! (But, it allows
to be repaired)

2) I found that the relationship linkage between those related
tables(which corrupted) was disconnected/lost after problem (1)
occured. Is there anyway to prevent this happen or to master-lock the
relationship?

3) I know too little about SQL server, but I'm going (have to)to move
my database into SQL Server as back-end db. Any important steps/things
should me know before i do this? or anyway tool or better way of doing
this. Any guides and full instruction available in converting access
db into SQL db while remaining the access forms, queries, macro,
reports, VB scripts as front-end.

I need those who expert in this help me... THANKS : )

LEINAD
IT SERVICES DEPARTMENT

Anyone who can advise me on this problem

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: latosca68 | last post by:
I need to demostrate, in a forensic job, that I can change (insert, update, delete) records in a table of an access database without trace. How can I do this ? I plan to make the queries or export...
47
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small...
7
by: ddsvi78 | last post by:
I am a complete idiot when it comes to access. Now that said, I work for a computer security company and one of our customers came to us with an access problem. They had been running fine for a...
33
by: Steve | last post by:
One of our clients recently upgraded their Office version to 2003. When they tried to run our program (written in Access 2000), they ended up with the wrong data. My coworker and I have tested this...
1
by: effiw | last post by:
I'm working with an application that has an MS Access front end linked to the SQL Server DB backend. During a period of one week, 32 records of a spefic event (and all related records to that event)...
76
MMcCarthy
by: MMcCarthy | last post by:
Normalisation is the term used to describe how you break a file down into tables to create a database. There are 3 or 4 major steps involved known as 1NF (First Normal Form), 2NF (Second Normal...
1
by: deshg | last post by:
Hey everyone, I think i am being kind of stupid but i can't quite work out how to do it and wondered if anyone might be able to help!? I'm using MS Access 2002 on Windows XP FYI. I have a...
12
by: nyathancha | last post by:
Hi, I have a question regarding best practices in database design. In a relational database, is it wise/necessary to sometimes create tables that are not related to other tables through a...
6
by: Wesley Peace | last post by:
I hate to cross post, but I've gotten no answer yet on a problem I'm having with visual studio 2008. I've created a series of forms with controls to access a Access database tables. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.