Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with combobox and listbox.

Status
Not open for further replies.

SpDomino

Programmer
Nov 4, 2005
1
US
I recently started programming in databases and I am new to Domino
I have ran into a problem with something many would see as a piece of cake and I am getting a bit frustrated so any help from you would be greatly appreciated.
So I have a dialog box that I use in a form.
My first problem is in the combobox, I need two comboboxes the first one decides what the second one is going to be. For instance if I choose yes, then the second combobox will have different selections than if I chose no in the first one. Then I have a field where I put some comments.
Now I have a listbox in the main form that I want to populate with the information from the dialog box (mainly the selection from the second combobox and the comments). I have been trying to do this in multiple ways but it all seems in vain.
Well, that's it and thanks for any help in advance

Regards

ng
 
What you want to do is possible, and not too difficult.
In your first combobox, you need to activate the option "Refresh fields on keyword change" in the second tab of the field properties.
That way, when the user makes his choice, the document is refreshed.
You then need to base the second combobox choices on the result of the first one. In the second combobox properties, you need to activate the option "Refresh choices on document refresh".
Normally, that should solve your problems.

Pascal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top