Weird author access issue on subforms

Tried searching on this but as I’m not sure how to sum it up in a few keywords, I’m getting too many results to weed through without taking the rest of the week off to do it :}

Background: You highlight a person’s contact record in a db view, and click an action button labelled “Copy” at the top of the view. That opens up a subform, called “(Copy)”. The subform just has one field in it, called “Content”. Below the field are text hotlinks: Address, Biz Card Status sheet. You click one of those, some magic happens, fills in the content field with info, then you click a “Copy” button at the very bottom, which copies that info to clipboard for you to paste where you want.

Issue: Most people only have author access with create to the database, so that they can’t edit other people’s records. But, without giving them editor access to the whole db in the db ACL, hitting those hotlinks won’t fill in the Content field.

Question:

Why’s that happening?

Subject: RE: Weird author access issue on subforms

When you say “that opens up a subform”, I assume you mean you use Dialogbox or @Dialogbox to open the subform in a modal window. I suspect the problem is that your “magic” of filling in the field and copying the value relies on having the dialog open in edit mode, and that if the user doesn’t have access to edit the document, it won’t open in edit mode.

I think what you need is to use LotusScript DialogBox method with a new document that you created with CreateDocument method, that contains a copy of the information in the selected document. Then the user should be able to edit it. Incidentally, you could save a click by having several editable fields, prefilled, and a copy button next to each of them.