I set up a field as dialog list/editable, and used the followiong formula to get a list of names:
@PickList ( [Custom] :[Single] ; " " : “lookup\FRSLookup.nsf”; “People” ; “Pick a Name” ; “TestPrompt” ; 1 )
Running it, the dialog outline shows, with the title and prompt, but then an error box pops up stating “You cannot add a directory to your workspace”. This happens also when I omit the path from the DB name.
I’ve run out of things to try.
Subject: @PickList fails
is your lookup in the same database ?so your formula will be like this :
@PickList ( [Custom] :[Single] ; @dbname; “People” ; “Pick a Name” ; “TestPrompt” ; 1 );
if your lookup is another database on the same server :
@PickList ( [Custom] :[Single] ; @dbname[1] : “lookup\FRSLookup.nsf”; “People” ; “Pick a Name” ; “TestPrompt” ; 1 )
if the lookup is on a database on local use this one (omit the space between double quotes on server name in your formula):
@PickList ( [Custom] :[Single] ; “” : “lookup\FRSLookup.nsf”; “People” ; “Pick a Name” ; “TestPrompt” ; 1 )
Subject: Never Mind - rookie error on muliple values
Of course, when I went back to the first tab for the field and allowed multiple values, multiple values were allowed. Thank you for the help.
Subject: RE: @PickList fails
Thank you. That works. I was missing the @dbname.
When I remove [SINGLE], the first dialog box allows me to check multiple names. However, the second dialog box, in which it appears I must select a name to populate the field, only allows me to select one of the name set first selected. Is there some way to correct this?
Subject: RE: @PickList fails
I get this error when browsing the Notes developer Help!! 
Regards
Jon
http://www.webheadz.co.uk/