Can't look up for NAMES field within layout region

I have a field with NAMES type on a layout region. For “Choices” option of the NAMES field, I selected “Use address dialog for choices”. However the button for looking up names disappeared when preview. Why? How to make the look up button display?

I am using notes 6.0 client.

Thanks

Subject: can’t look up for NAMES field within layout region

Is the document in edit mode?

Subject: RE: can’t look up for NAMES field within layout region

Yes, It is. From what I saw in preview, the names type field looks same as text type field.

Subject: RE: can’t look up for NAMES field within layout region

You have to cheat here because you cannot get a dialog list to display from a layout region, even though they give you the option of selecting a Names type field.

Here is how you cheat:

Create an editable field and put an arrow graphic next to it (I have one I use for the same purposes I can send you if you need it). The formula for the graphic should be:

For a single value:

tmpName:=@PickList( [NAME] : [SINGLE] );

FIELD :=;

@SetField(“”;tmpName)

For a multiple value:

tmpName:=@PickList( [NAME] );

FIELD :=;

@SetField(“”;tmpName)

Subject: Or making it even simpler (I hate 3 lines of code when 1 is sufficient)…

FIELD :=@PickList( [NAME] : [SINGLE] );

Subject: RE: Or making it even simpler (I hate 3 lines of code when 1 is sufficient)…

Just my anal side Bill:-)

Subject: My favorite “I hate to see this in code”: FIELD xyzzy := xyzzy;

Subject: No no no! (WAS: My favorite “I hate to see this in code”: FIELD xyzzy := xyzzy;)

Heard of R5 Bill? Some of us still have to use it in addition to 6.x ;o)

Subject: Never heard of it. I remember when they actually put Filters->Macros->Agents in that could change the value of a field in V2.

Of course they did not have @SetField back then, and we had to make use of FIELD xyzzy := “Your New Value”;

Subject: Either old habits die hard, or…

you are showing your age:-)

Subject: Feeling it today.

Subject: My favorite “I hate to see this in code”: FIELD xyzzy := xyzzy;

Cmon Bill,

It is required in R5 to use @SetField, but not in ND6. I keep it for backward compatibility.

If I just use FIELD SaveOptions := “0”, then I do not need it…so just look at it in context!:slight_smile:

Did you stay out too late in German Village or the Short North last night or something?:slight_smile:

Subject: Never really liked @SetField either. No my head is just hurting from trying to install…

Websphere Portal Express v.5. Four Complete total installs/reinstalls (and 1 OS). Still have not been able to install the fixpacks to bring it up to 5.0.2 and have it work. Trying to get 5.0.1 working w/ Domino and LDAP all day today w/ mixed success. ARRGHHH!!!

Subject: Your pain is understandable :wink: (WAS: Never really liked @SetField either. No my head is just hurting from trying to install…)

Subject: RE: can’t look up for NAMES field within layout region

Fil Save, thank you very much. Could you send me your arrow graphic to me? My email address:yuanzuo@yahoo.com