Logic in Dialog Box

I have code in a dialog box that changes the choices based on the value of another field in the form. It works the first time I check the dialog options but when I chance the dependent field, the options remain the same. If I exit the form, reopen, and use a different value in the driving field, the dialog option are the different correct ones.

Why is this not a dynamic performance.

Subject: Post the code which changes the value

Subject: Need more detail

Thanks for the tip but unfortunately, I do not understand what “Post the code” means. Please clarify if possible.

I would think the “Use formula for choices” option in the “field choices” section would ensure this works.

Take care, Paul

Subject: Please read the documentation

The help for designing keyword fields explains how this works. There are checkboxes you can use to control when the list of choices is recalculated in that field, and in other fields.

The code referred to in “post the code” is the formulas that calculate your keyword lists. If the second one doesn’t use @If and @Unavailable, it is incorrect.