I
InfoHound
David_W asked a question on 4/5 that is similar to my question. I read
Wong-a-Ton's reply, and in concept one would hope that solution would work.
In practice however, there's a challenge when you are working on a form that
is connected to a database. One obstacle is that controls are, by default,
named after a field in the database, not a name that I assign to the control.
So, for example, I have a drop down listbox called "OL_TOOL_ID", which
corresponds to a field name in my database. I'd like to have a second drop
down listbox (called ROLE_ID by default) display only the roles that
correspond to the tool selected in the first listbox. My table structure is
comprised of a Tool table, an associative table (contains Tool_ID and
Role_ID), and a Role table. I tried using a filter that specifies "show all
roles that are associated with a specific Tool_ID" To do this, I created a
filter that looks at the tool_id associated with the role_id and I compare
that to the tool_id associated with the first listbox. But as David_W points
out, all roles are listed in the second box, irregardless of the Tool that is
chosen in the first listbox. Remember, this is situation specific to
designing a form that is connected to a database and it seems that different
Infopath functionality is available than when you work with a stand-alone
form. Thank you for any advice.
Wong-a-Ton's reply, and in concept one would hope that solution would work.
In practice however, there's a challenge when you are working on a form that
is connected to a database. One obstacle is that controls are, by default,
named after a field in the database, not a name that I assign to the control.
So, for example, I have a drop down listbox called "OL_TOOL_ID", which
corresponds to a field name in my database. I'd like to have a second drop
down listbox (called ROLE_ID by default) display only the roles that
correspond to the tool selected in the first listbox. My table structure is
comprised of a Tool table, an associative table (contains Tool_ID and
Role_ID), and a Role table. I tried using a filter that specifies "show all
roles that are associated with a specific Tool_ID" To do this, I created a
filter that looks at the tool_id associated with the role_id and I compare
that to the tool_id associated with the first listbox. But as David_W points
out, all roles are listed in the second box, irregardless of the Tool that is
chosen in the first listbox. Remember, this is situation specific to
designing a form that is connected to a database and it seems that different
Infopath functionality is available than when you work with a stand-alone
form. Thank you for any advice.