Solved

Domino/Lotus Notes form, showing list of values based on a condition

Posted on 2016-11-17
3
12 Views
Last Modified: 2016-11-28
I am working on a form in which a field is a dialog list, and uses a view to provide the list of choices.  However, I would like the list to show a different group of values based an answer in another field.
Example, if the person is a Male, show only a list of boy's names.  If a person is Female, show only a list of girl's names.  Is there a way to create a view which contains all of the names, with some sort of Male/Female identifier and then my form displays the appropriate group of values (based on Male/Female selection)?

I hope that makes sense.  I'm looking for some sort of conditional list of values as choices.
0
Comment
Question by:lwillford
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 500 total points
ID: 41892346
Can be done. Your first field should be a selection field, with the option Refresh fields selected. You have to create a categorized view, of which the first column can serve as selection values for the first field (using @DbColumn) and the 2nd column is to be used in the 2nd selection field's values formula, i.e. a @DbLookup in the view using the value of the first field.

So:

1st field:
Dialog list
Values formula: @DbColumn("";"";"yourview";1)
Option: refresh fields on value change*

2nd field:
Dialig list
Values formula: @DbLookup("";"";"yourview";FirstField; 2)
Option: refresh values on document refresh*

* I cannot remember the exact phrases used, but you'll see what I mean soon enough.
0
 

Author Comment

by:lwillford
ID: 41892363
Thanks for the fast response!  I won't be back to this project until Nov 28th, so I'll confirm it then.  I think I understand - I was having a hard time figuring out what direction to even start going on this one!
0
 

Author Closing Comment

by:lwillford
ID: 41904814
Excellent response!  The example you gave me was easy to follow and did exactly what I needed.  Thanks!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now