![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
On Oct 9, 2:56 am, lyle fairfield <lylef... (AT) yah00 (DOT) ca> wrote: Lou O <lgeastw... (AT) gmail (DOT) com> wrote innews:5468d121-5208-4a1d-833f-9da31ed8263c (AT) c22g2000prc (DOT) googlegroups.com: Here's a simple solution I've tried with some success when userA opens the record set a field in the record (ie fldEdit) to a value (ie 1) if userB tries to open the record test value of fldEdit If value is 1, deny access to the record, if value is (ie 0), allow access. when userA closes the record, reset fldEdit to 0. Ouch! -- lyle fairfield I'll try to expand on Lyle's comment :-). *I think that Microsoft started down that path to the dark side before seeing the light. Here's an example of the kinds of subtle problems that can come up: http://msdn.microsoft.com/en-us/magazine/cc163744.asp Microsoft put a lot of attention into C# to allow allow programs to take advantange, both now and in the future (for code written today), of the availability of multiple cores. *I.e., your code automatically runs faster in the future if more cores become available. *In addition to including tools for safe thread locking, they also came up with some ideas that did not involve locks. *Unfortunately, they did not build these capabilities into any version of Access. *I suppose they wanted SQL Server to harness the parallelism made possible by multiple cores on a server rather than trying to include those features in unmanaged code. *IMO, the lack of capability for utilizing multiple cores is the most glaring weakness that Access has at the present time. *Hopefully the article will make you aware of some of the potential problems before encountering them. James A. Fortune CDMAPos... (AT) FortuneJames (DOT) com |
#22
| |||
| |||
|
|
But like Tony says somewhere else in this thread; "so what, given the very unlikely chances of this happening?" |
#23
| |||
| |||
|
|
The link you posted didn't work. |
![]() |
| Thread Tools | |
| Display Modes | |
| |