In one of the forms I use, I have a names field, @Picklist, to allow a user to select the names from my company's address book. I am interested in converting the @PickList to a LotusScript version. I am running Notes R6 on Windows XP. How do I do this?
It would be great if you could use Evaluate with @Picklist, but Evaluate doesn't work with UI functions. The easest way to implement this to use the NotesUIWorkspace method, PickListCollection. This will allow you to select the database, view and even the category of documents in a view for the user to choose from. You can restrict the selection to one or multiple documents and the method returns a collection of documents you can process to extract the information you need to populate the selected users.
Do you have comments on this Ask the Expert question and response? Let us know.
Dig Deeper on LotusScript
Find out what types of calculations can be computed for a column in a Lotus Notes view and the best way to go about it with this expert response.
Find out why you can't use Formula language to include a doclink to a specific Lotus Notes view or database and need to use LotusScript instead.
SearchDomino.com's expert Brian Mahoney explains how to work around the default replication and form parameters of profile documents, so that the ...