In theory, if referential integrity is set and keys are set then if
user1 edits/updates data this user will get an error message from the
sql server if the business rules are not met - usually some key
violation error. Lets say user1 edits/updates data and then user2
edits/updates the same data 1 millisecond after user1 using the method I
suggested. If user2 is following the company's business rules and
enters the same data then this user will likely get some key violation
message of duplicate data - the record already exists. But if user2 is
actually changing the data that User1 just edited - meaning user2 came
along after user1 - say an hour later - it doesn't matter if my method
is used or if User2 edits the data directly in the table.
The problem with Access here is that Access just can't read most of the
error messages from the sql server. It just can't. Slice it/dice it -
argue till you are blue in the face - Access can only read about 20-30 %
of error messages from the sql server. I have had debates with other
Access people inhouse at my place who insisted that I was wrong. To
date - no one has been able to show otherwise. .Net on the otherhand,
is the new generation of technology which includes sql server
interactivity and has specifically addressed these issues successfully
- 100%.
Bottom line - Access is a great tool - but against a sql server backend
- must proceed with great caution. It is all doable - just a lot of
advanced functionality is not available in Access for dealing with sql
servers. So I guess my method does not really present any advantages
over editing/updating data directly from the table. Except if migration
to .Net is in the works - this method will at least get you started
using the .Net paradigm.
Rich
*** Sent via Developersdex
http://www.developersdex.com ***
--
Posted Via Newsfeeds.com Premium Usenet Newsgroup Service
----------------------------------------------------------
http://www.Newsfeeds.com