Solved

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

Posted on 2010-09-20
7
918 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
  • 2
  • 2
7 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SQL Server Log File Space 6 33
Splitting out Data 14 27
Dateadd 3 19
search for a string in all tables 4 15
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now