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.

Andy
LVL 3
swift1004Asked:
Who is Participating?
 
marilyngCommented:
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.


Regards!
0
 
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)
0
 
SysExpertCommented:
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 !
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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".  

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

Could you please explain how?
0
 
SysExpertCommented:
I stand corrected. I checked a few DB's and all use DBcolumn to give the list.
0
 
SysExpertCommented:
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"

0
 
Sjef BosmanGroupware ConsultantCommented:
:(
0
 
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!
0
 
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:
    http://www.experts-exchange.com/help.jsp#hi19

Next time better! :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.