Provide a default value in @PickList dialog for Names

I have a hotspot that sets a computed fields value using @picklist using the NAB as the view.

Hotspot:

FIELD aapprove:=aaprove;

@SetField( “aapprove”; @PickList( [Name]) );

@Command([ViewRefreshFields])

I do not want the end user to be able to edit the field (that is why I am using the hotspot). My problem is if the user chooses a name from the address book and wants to remove that name it does not show up in the @Picklist when the hotspot is pressed again.

The users would have to choose the name again then choose remove to remove it.

Is there anyway that I can set the @Picklist prompt to include the name in the field in the dialog box by default.

Example:

I choose Joe Smith using the hotspot

Joe smith is in the Field now.

I click the hotspot again and I want to see Joe Smith in the users that I have chosen so that I can press the remove button and do not have to have the user choose that person again.

Thanks for any replies.

Subject: Provide a default value in @PickList dialog for Names

try this syntax:

@PickList([Name]; aapprove)

should work

Martin

Subject: Provide a default value in @PickList dialog for Names

The following code will workusing MailAddress and SendTo

FIELD aapprove:=aaprove

Field SendTo := aapprove;

@Command([MailAddress]);

@Setfield(“aaprove”;SendTo);

@Setfield(“SendTo”;“”);

SendTo is a reserved word in Notes for use in mail addressing. Besure to remove the values from SendTo. Also, you might have to do some text manipulation to what is returned like remove the domain depending on what you want as the name value.

Subject: RE: Provide a default value in @PickList dialog for Names

Thanks for the reponse but this has nothing to do with my question.