Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

Lotus Document Locking Not Working

I had document locking working, I then made it so when my form is opened it auto launches a excel spreadsheet OLE object, but now document locking is no longer working. Any idea's?
0
unknown45
Asked:
unknown45
  • 7
  • 5
  • 3
  • +1
2 Solutions
 
qwaleteeCommented:
Wow, that's pretty generic.  What do youmean by "not working?"  You can put the doc in edit mode (not the OLEdoc, but teh Notes doc -- you can actually edit fields, while another user is also editing fields?)
0
 
unknown45Author Commented:
Sorry it was pretty generic... Multiple users can edit the same OLE and the same notes doc at the same time. I even manually right clicked on the document and locked it, but another user was still able to get into it.
0
 
Bozzie4Commented:
Nope, still not enough information :-)

Have you set it up correctly ?  Can you see the locks ?  Have you got an Adminstration Server in the ACL ?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
unknown45Author Commented:
Yes I have an administration server in the ACL. And when i open the documents it does not say locked and unlocked the status bar, but if i manually lock it, it does show locked and unlocked in the status bar.
0
 
rd153Commented:
What you can do is set up a querymodechange routine in lotusscript which checks that the user has the correct rights to place the document in edit mode.
0
 
qwaleteeCommented:
So, what you are saying is that lockig does work (user can lock manually), but "automatic" locking isn't working.  How did you set up automatic locking?
0
 
unknown45Author Commented:
When i manually lock it, in the status bar it will say document is locked, however another person can still open it. It says its locked... but it is not.

As far as automatic locking I did nothing but enable document locking in the database.
0
 
qwaleteeCommented:
OK, that clarifies things.  Notes is claiming the document is locked, when it really isn't.

And if you use a form in the database that does not have any objects on it, no problem, even now?
0
 
unknown45Author Commented:
I created a brand new form, nothing on it but 1 line of text. Saved the document, and locking still does not work. Even manual locking does not work.
0
 
qwaleteeCommented:
DIsable locking on the DB (all copies).  Compact (al copies).  Re-enable and re-compact all copies.
0
 
unknown45Author Commented:
I disabled locking , compacted, re-enabled and re-compacted and it still does not work.
0
 
Bozzie4Commented:
When a document is locked, someone else can open it of course, just not edit it !  I hope you test for that ?

0
 
unknown45Author Commented:
*sigh* my mind is still on vacation i guess... Thanks Bozzie.... Ok document locking is working on my blank form. Now on the form that auto launches the attachment it does not work until the user closes the attachment. 2 People can open up the document, it auto launches the attachment, they make changes to the attachment and then who ever closes it first gets the lock and the other person can not save. Basically i need it to tell them its locked before the attachment is opened.
0
 
unknown45Author Commented:
Ok i just decided not to auto launch the OLE object, its ok to have them double click to launch it.
0
 
Bozzie4Commented:
Ah those simple problems can be the hardest to solve :-)
0
 
qwaleteeCommented:
Well, then, you found a bug.  If I had to guess, there is a sequence of events when a doc is opened into edit mode, and the OLE launching code ocurs in that sequence before the lock request.  Further, hard to tell from that whether the first locker is failing to SET the lock until too late or whether the second locker is failling to CHECK the lock until too late.  Or both, actually.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 7
  • 5
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now