Hello
Here’s the story : I have a database DB1 with documents that I use to generate another document (call it OtherDoc) in another database (DB2). I did not create DB2 and would not like to touch it if possible.
Once this OtherDoc is created, I want users to see it but not modify it. If they want to modify it, they need to modify underlying data.
Anyway, the creation goes well, but I have trouble preventing users from changing the document. I use the read-only option of W.EditDocument, and it seems not to work at all.
Here’s the code :
Call OtherDoc.Save(True, False)
Call W.EditDocument(False, OtherDoc, True, “”, True, True)
The document I see is editable in all possible ways (edit button or double-click). There’s no Authors or Readers field there, and I’d prefer not to touch the QueryModeChange event.
I searched but didn’t find any hints on that. So has anyone experienced any problem with the read-only option of W.EditDocument ?