Dialog List fields not saving user input

I am creating a simple database that has several Dialog Lists fields that should be user editable.  The users can type in info and it's in the record, but it is not saved for use in a new record.  I thought it used to do this automatically in Notes 5 and 6, but I am doing this in Notes 7 and a I can't seem to find a way to save the user input.  Thanks.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sjef BosmanGroupware ConsultantCommented:
No, it is not done automatically. There'a always some logic underneath, a @DbLookup or @DbColumn from a view, or some profile document that stores all possible values. In your case, the easiest thing is to create a hidden view, with in the first column the field used in the Dialog List. Make it sorted (even better: categorized), and use a formula in the form's field:
    @DbColumn("":"NoCache"; ""; "the hidden view you created"; 1)
Actually R 5 and 6 do allow adding  to a Dialog list.

I have not tested in 7.

What you are saying is that you can add, but it does not show up in future lists ?

Are these all on the Same server ?
Are the documents fully saved ?

I hope this helps !
swift1004Author Commented:
Yes, SysExpert.  In earlier version of Notes, I could allow adding to a dialog list and the next time you open that dialog list the user input entry was there for you to pick.  In 7, I am able to add user input, and it works, but it will not be saved for future use.  I thought there was a checkbox in the design of the field before, but I can't remember.

Yes, it's on one server.  It's a very simple database with only 2 views and 2 forms.

Not sure what you mean by "fully saved".  

CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Sjef BosmanGroupware ConsultantCommented:
> Actually R 5 and 6 do allow adding  to a Dialog list.

Could you please explain how?
Hi All,

SysExpert is referring to: Allow values not in list.. :)  But those values aren't saved for any other use except:
   For on the form where the other values were added, or
   A categorized view (or field categories) where ( as sjef suggests) a db lookup grabs the latest and greatest including the "additions" -
   It would have been the same for R5 and R6, and probably R7.   Notes doesn't know to save values for drop down lists,
   unless one of those two conditions are met.

YOu can look up "Generating category names" in designer help which gives you three different ways to achieve your goal.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I stand corrected. I checked a few DB's and all use DBcolumn to give the list.
For a good example, take a look at the design of the template for any of the Document Libraries. The category field does the folowing
@If(!@IsNewDoc & @IsDocBeingLoaded; @Unavailable; @DbColumn("":"nocache"; ""; "By Category"; 1))
and of course there is a view for "By Category"

Sjef BosmanGroupware ConsultantCommented:
swift1004Author Commented:
Sorry sjef_bosman, I didn't see how to give partial credit because you deserve some credit.  I just needed to be pointed in the right direction by marilyng to end up using a formula.  I have to understand why it works before I can use it.  :)  Thanks!
Sjef BosmanGroupware ConsultantCommented:
You could have split the points. There's a button for that purpose, somewhere at the bottom of a question (while it is open) called "Split". See also the EE-Help:

Next time better! :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.