Opening LN document through dialog box

hi all,how to open a document from the dialogbox

thnx in adv

Subject: opening LN document through dialog box

Hello

it depends of what you have in the dialogbox.

A simply way I experiment, is “ws.PickListCollection”. It returns a collection with the selected documents…

'dialogue

Set adrCollection = ws.PickListCollection(PICKLIST_CUSTOM,False,db.Server,db,viewtoSearch,_

"Recherche d'adresses","Veuillez sélectionner une adresse",stringtoSearch)

'if dialog cancel

If adrCollection.Count=0 Then

......

End If

'with a selection

Set adrSelected = adrCollection.GetFirstDocument

'and then open the doc.

:-))

Subject: RE: opening LN document through dialog box

The DialogBox method of NotesUIWorkspace lets you specify which form to open and which document.

If that doesn’t solve your problem, we need more information about what you’re doing. If you’re not sure what information to supply, the C R I S P Y document might help you.

  • Andre Guirard, IBM/Lotus Development

Useful blog: Best Practice Makes Perfect