Although NotesUIWorkspace Prompt basically does what I want, I am still trying to find a solution with a listbox field.
This is the status now:
Within the form named "Kundenauswahl" I have defined 2 fields:
- "Auswahl": hidden multivalue text field
- "Kundenliste": listbox field, computed from "Auswahl", both refresh-checks on
This is the script that shows that form:
Dim newdoc As NotesUIDocument
Set newdoc = ws.ComposeDocument ( , , "Kundenauswahl" )
Call newdoc.Document.ReplaceItemValue( "Auswahl" ,Kdn_Tab)
Call newdoc.Document.ReplaceItemValue( "Kundenliste" ,"")
Call newdoc.refresh
On the display the field "Kundenliste" is empty, although the data is there. I can see that when I use the debugger. By newdoc.refresh it gets refreshed in core but not on the display.
Has someone encoutered this situation?
Paul