Every time I change the item type based on the dialog list choice I want my item options to change to the list for the item type. I have tried call uidoc.refresh and uidoc.save in the exiting event of the item type field, but it doesn't work -- it didn't change the item options.
Note: If the user has already selected a value in the itemOptions field, that value will remain selected after the refresh even if it is no longer a valid selection. To fix this you would need an input translation formula in itemOptions that checks whether the current field value is valid, and if not, sets the field to "". E.g.: valid_choices := @DbLookup(""; ...; itemType;...); @If(@IsError(valid_choices; ""; @Keywords(valid_choices; @ThisValue))
Do you have comments on this Ask the Expert question and response? Let us know.
Dig Deeper on Lotus Notes Domino Formula Language
Related Q&A from Andre Guirard
Learn how you can use LotusScript and OLE to create and populate Microsoft Excel spreadsheets, as well as a little bit about Lotus Symphony.continue reading
Discover options you can use if you'd like external users to be able to access a workflow-based Notes Domino application through different ...continue reading
Learn why you may receive the error message: "Illegal circular use: Audit Trail" when trying to open Lotus Notes documents that use copied forms.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.