472,347 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,347 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 3893
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...
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?...
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...
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...
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...
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...
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...
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...
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...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

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.