×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

populate list box with names

populate list box with names

populate list box with names

(OP)
I have a list box field on a form "Judge".  I want the choices in the field to be generated by selecting all the people in the main address book (names.nsf) who have a title of "Judge".  Any ideas on how to accomplish this?

thanks,

leslie

RE: populate list box with names

I made something similar using a notesdocumentcollection populated with the result of a search in the database, for all document in the collection I can then create an array with the values I need extracted from one or more fields per document and put the array in a multi value field hidden in the form or dialog box.
The formula for your list or combo must be simply the name of the hidden field.
I can create for you a demo .nsf if the above is not clear.
Hope will be helpful.
P.S. I'll work on your "fill array with items".

RE: populate list box with names

Hi Leslie,

Another solution would be to create a view in the NAB, hidden, collecting all users who have the title "Judge", and do a lookup on that.
Of course, that implies that :
1) you can modify the design of the NAB
2) you must define the view as to not modify or refresh/replace design
3) you remember the view when you upgrade the Domino server

Other than that, the view shouldn't bother anything.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close