How to open a form by formula or lotusscript?

Greetings all,

how can I open a form (not compose) using formula or lotusscript.

I want to do the same thing that an outline entry does when named element of form is assigned to it.

The problem with using compose is that the user has to have write access while the outline entry opens the form even with read access.

I am using a form for navigation purposes and I want my readerse to be able to access it without ‘Write public documents’ access - the form is opened by a lotusscript in a button.

This is in Notes Client

Thanks

Basir

Subject: RE: how to open a form by formula or lotusscript?

In LS, I suppose you could use CreateDocument method to create a document in memory, then EditDocument to open in read only mode. Do you actually need to use a form here, if they’re not editing? Or would a page suffice?

Subject: RE: how to open a form by formula or lotusscript?

Alternatively lotusscript also allows you to create a document using a form in the front end too…

e.g.

Set uidoc = workspace.ComposeDocument ( “”, “”, “Main Topic” )

method:

Set notesUIDocument = notesUIWorkspace.ComposeDocument( [ server$ [, file$ [, form$ [, windowWidth# [, windowHeight# [, returnNotesUIDocument]]]]]] )

Subject: RE: how to open a form by formula or lotusscript?

as I said, I don’t want to use compose because users who do not have write access can not open the form.

The form contains fields for navigation / search purposes.