Solved

How to change advances properties  in  Data Link Properties window for MS Access adp file?

Posted on 2010-09-20
7
931 Views
Last Modified: 2013-12-05
In the advances properties tab in Data Link Properties window for MS Access adp file I can’t check the  “Share Deny Write”  check box. Why and how can I have it works?
I want to check this box because I want the users to be able to lock and edit record one by one. Is the way to do it?
Thanks in advance
0
Comment
Question by:Provost
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 33748544
Please Click the "Request Attention" link and ask that this Q be added to the ADP zone
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 33781022
When you say "I want the users to be able to lock and edit record one by one" - do you mean the records this ADP application is working with, or some other data that you have linked to this ADP? how exactly do you invoke Data Link properties window?
0
 

Author Comment

by:Provost
ID: 33826339
No, the default lock in Access is optimistic. I want to have an exclusive lock on data when a user edit a record in a table.I have 20 users accessing my database. It's on SQL Server 2000 and all the data is in one database. In Access 2007 I click Office button, then server, then connexion and advance tab.

Thanks in advance

0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 33827761
There's no way to do that using Access data access. Access provider is using client-based cursor, hence no server-side lock. No true transactions either.

If you want to have full control on the locking, you have to code using pure ADO. You can do it in Access as well, though in this case you throw away all Access data manipulation, and program everything by yourself.

That said, are you sure you really want server-side lock? User A opens a record, then the phone rings, then she leaves for lunch. The record (at least) stays locked. User B tries to open it, and his Access freezes waiting for the lock. Guess what will user B do after 15 seconds' wait.

From my experience, server-side locks are only acceptable when performed by reliable backoffice applications, and for a short time. Take a look at my article http://www.experts-exchange.com/A_3514-Resolving-blocking-conflicts-in-SQL-Server-in-user-friendly-manner.html , maybe you'll find it useful.
0
 

Author Closing Comment

by:Provost
ID: 33831265
Thanks a lot, that answer all my questions. For this application, I don't want to write all  code to data access.
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question