I'm wondering if it is possible for an InfoPath form to select a specific row
or cell from a SQL database. It seems that I can populate a drop-down list
with a column from a database, but not a row.
Basically, I have a database with Employee stats for a call center. These
stats are things like number of calls per hour and average length of a call.
I'm creating a Monthly Coaching form in InfoPath, and I want it to
automatically pull an employee's stats when their name is selected from the
list.
So I need a way to code it so that the form says, "Okay, so John Smith's
login is 1234, so I need to pull the row from the database that starts with a
cell containing 1234, and populate a field with the information in the third
cell for that row, which is his average call time for the month of May."
Is that possible with InfoPath, or am I asking too much?

Signature
Thanks,
lordpuma
S.Y.M. Wong-A-Ton - 26 Apr 2007 11:10 GMT
Try this article:
http://enterprise-solutions.swits.net/infopath2003/article.php?t=autofill-fields
-dropdown-selection-secondary-data-source&c=infopath2003
---
S.Y.M. Wong-A-Ton
> I'm wondering if it is possible for an InfoPath form to select a specific row
> or cell from a SQL database. It seems that I can populate a drop-down list
[quoted text clipped - 12 lines]
>
> Is that possible with InfoPath, or am I asking too much?