depending comboboxes

depending comboboxes


I have two entities (one with a foreign key to the other) with a one to many relationship, and I have two comboboxes. I want the first combobox filled with a value from entity1 and I want to list only records of entity2 that match the key of entity1 that is chosen in combobox1. When no choice is made (so combobox1 is empty) the second combobox must not be visible at all. I can't (even after studying the help files) figure it out. How does one do that?

Rgards, Harry
Check the attached example. If after seeing it you still have some doubts on how it works, feel free to ask for more details.

Best Regards,
Gustavo Guerra

Great, very clear example! Thanks.

Regards, Harry