Document locking basics
Posted on 2006-06-20
Hi, this is hopefully the last problem for a while (famous last words!), and hopefully fairly simple. The Notes help is not particularly helpful on this (or anything for that matter). If I use @DocLock ([LOCK]) in a button formula and set the database properties to allow locking, who gets locked out when the button is pressed? Everyone but the author? And does it only work while the document is open for editing? I know this feature is meant to prevent replication conflicts, but what I want to do is to lock all the fields in the form against editing once a final button is pressed (the button also closes the form - I've done that bit already). When the document is reopened, only those people in a specific role ([SysAdmin]) will have edit access. Everyone else including the author can only view. I don't think @Doclock is the way to do that, since it doesn't seem to be working (and I suspect that is only works while a document is open for editing). Can you recommend a simple formula (rather than Script) way to do this. Thanks! Maggie nb, if this turns out to be more complicated than I think it will be, I'll put up the points.