L
Laurie_Marsh
I have a main connection to a DB that has one parent (employees) table and
multiple child tables (address, AssignedProjects, ...) linked by the key in
the parent. I have an InfoPath form allowing information for a selected
employee to be changed in the many child tables.
An employee can be assigned to >1 project so my form includes a repeating
section for that. A project within the AssignedProjects table is identified
by a key but I want the description displayed on the form (i.e. display
"Acura Toronto Windshields" as opposed to "67-23"). I have a secondary data
source for the Projects table but can only get the description displayed if I
use a drop-down list bound to the entry in the AssignedProjects table. I
want to use a read-only text box instead. (I am implementing my own
drop-down list in C# because I need it wider than what I want to allow the
actual value widget on the form. Next to the read-only text box is a button
that launches my own drop-down list.)
It seems like I should be able to bind a text box for a value in my
repeating table to a secondary data source for display purposes but nothing I
try is successful. I know I can change my data connection but I would rather
not if possible.
Thanks.
multiple child tables (address, AssignedProjects, ...) linked by the key in
the parent. I have an InfoPath form allowing information for a selected
employee to be changed in the many child tables.
An employee can be assigned to >1 project so my form includes a repeating
section for that. A project within the AssignedProjects table is identified
by a key but I want the description displayed on the form (i.e. display
"Acura Toronto Windshields" as opposed to "67-23"). I have a secondary data
source for the Projects table but can only get the description displayed if I
use a drop-down list bound to the entry in the AssignedProjects table. I
want to use a read-only text box instead. (I am implementing my own
drop-down list in C# because I need it wider than what I want to allow the
actual value widget on the form. Next to the read-only text box is a button
that launches my own drop-down list.)
It seems like I should be able to bind a text box for a value in my
repeating table to a secondary data source for display purposes but nothing I
try is successful. I know I can change my data connection but I would rather
not if possible.
Thanks.