Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Access
3rdpartyusrgrp
access
activexcontrol
adp.sqlserver
commandbarsui
conversion
dataaccess.pages
developers.toolkitode
devtoolkits
externaldata
forms
formscoding
gettingstarted
internet
interopoledde
macros
modulescoding
modulesdaovba
modulesdaovba.ado
multiuser
odbcclientsvr
queries
replication
reports
security
setupconfig
tablesdbdesign
  
 
date: Wed, 6 Aug 2008 10:06:46 -0400,    group: microsoft.public.access.multiuser        back       


Record Locking MsgBox   
I'm going to use Pessimistic Record locking on my Multi-User database.  My 
question is where can I place my custom MsgBox to pop up when a user tries 
to access a record that is already open.  I' m using all unbound forms.
Thanks
DS
date: Wed, 6 Aug 2008 10:06:46 -0400   author:   DS

Re: Record Locking MsgBox   
Hi,
you can try following approach: Open recordset with this record and try to 
update it, if it fails - catch error number and then display appropriate 
message

-- 
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com

"DS"  wrote in message 
news:OrpQq289IHA.2332@TK2MSFTNGP03.phx.gbl...
> I'm going to use Pessimistic Record locking on my Multi-User database.  My 
> question is where can I place my custom MsgBox to pop up when a user tries 
> to access a record that is already open.  I' m using all unbound forms.
> Thanks
> DS
>
date: Thu, 7 Aug 2008 14:29:24 +0400   author:   Alex Dybenko

Re: Record Locking MsgBox   
Thanks Alex I'll give that a try.
DS
date: Thu, 7 Aug 2008 09:34:18 -0400   author:   DS

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us