"Chris O'C via AccessMonster.c om" <u29189@uwewrot e in
news:8a4a590139 c8b@uwe:
I don't think you'll see any effect on the SQL Server tables when
"edited record" is selected, because it's a setting that applies to
Jet tables if the db was opened with row level locking set.
Are you suggesting that
MS-Access (2007)
ODBC
MS-SQL Server
Bound Form with Record Locks set to No Locks
and
MS-Access (2007)
ODBC
MS-SQL Server
Bound Form with Record Locks set to Edited Record
behave in the same way when updating data that has been changed subsequent
to loading the data into the form?
This is not the case.
---------------------------
No Locks lets me change the data regardless of a whether or not it has been
changed extraneously.
---------------------------
Edited Record gives me this warning message when the data has been changed
extraneously:
---------------------------
---------------------------
Microsoft Office Access
---------------------------
The data has been changed.
Another user edited this record and saved the changes before you attempted
to save you changes.
Re-edit the record.
---------------------------
OK
---------------------------
---------------------------
Reversing the process, that is trying to change the record in Microsoft SQL
Server Management Studio after having made a change in Access-ODBC gives:
---------------------------
---------------------------
Microsoft SQL Server Management Studio
---------------------------
Data has changed since the Results pane was last retrieved. Do you want to
save your changes now?
(Optimistic Concurrency Control Error)
Click Yes to commit your changes to database anyway.
Click No to discard your change and retrieve the current data for this row.
Click Cancel to continue editing.
---------------------------
Yes No Cancel Help
---------------------------
---------------------------
As an aside, I prefer the ADP handling of the situation which gives:
---------------------------
---------------------------
Write Conflict
---------------------------
This record has been changed by another user since you started editing it.
If you save the record, you will overwrite the changes the other user made.
Copying the changes to the clipboard will let you look at the values the
other user entered, and then paste your changes back in if you decide to
make changes.
---------------------------
Save Record Copy to Clipboard Drop Changes
---------------------------
---------------------------
--
lyle fairfield