J
JDArsenault
I've exhausted every suggestion (to my best ability) in this discussion group
before asking this question.
The senario:
I created a SQL view which shows me groups & supervisors. (1 group may have
many supervisors.)
In infopath I created a group field in which I want look up values from a
database connection, in which I created a database connection (Connection 1)
to this view. I modified the sql statement to select distinct groups (no
supervisors). This field works fine.
In infopath I created a supervisor field in which I want look up values from
a database connection, in which I created a database connection (Connection
2) to the same view. I modified the sql statement to select distinct
supervisors &
groups. This field works fine & returns supervisors, as is.
Now I want to limit the supervisors shown in the supervisor field according
to the group chosen in the group field. On the supervisor field properties, I
choose the Entries x-path button & choose the Filter Data button. I choose
the group
field from the Connection 2 data source, (which also supplies the supervisor
field) is equal to Connection 1 data source group field. I get the full list
of supervisors, not filtered.
My Entries field looks like this:
/dfs:myFields/dfs:dataFields/d:InfoPathGroupsSupervisor[@Group =
/dfs:myFields/dfs:dataFields/d:InfoPathGroupsSupervisor/@Group]
I get the same thing visa-versa when I choose the group field from the
Connection 1 data source, is equal to Connection 2 data source group field.
What am I missing?
before asking this question.
The senario:
I created a SQL view which shows me groups & supervisors. (1 group may have
many supervisors.)
In infopath I created a group field in which I want look up values from a
database connection, in which I created a database connection (Connection 1)
to this view. I modified the sql statement to select distinct groups (no
supervisors). This field works fine.
In infopath I created a supervisor field in which I want look up values from
a database connection, in which I created a database connection (Connection
2) to the same view. I modified the sql statement to select distinct
supervisors &
groups. This field works fine & returns supervisors, as is.
Now I want to limit the supervisors shown in the supervisor field according
to the group chosen in the group field. On the supervisor field properties, I
choose the Entries x-path button & choose the Filter Data button. I choose
the group
field from the Connection 2 data source, (which also supplies the supervisor
field) is equal to Connection 1 data source group field. I get the full list
of supervisors, not filtered.
My Entries field looks like this:
/dfs:myFields/dfs:dataFields/d:InfoPathGroupsSupervisor[@Group =
/dfs:myFields/dfs:dataFields/d:InfoPathGroupsSupervisor/@Group]
I get the same thing visa-versa when I choose the group field from the
Connection 1 data source, is equal to Connection 2 data source group field.
What am I missing?