Use Rule to Update Field

K

Karyl Monaco

I'm new to InfoPath, but I've been developing in Office for a long time. I'm
trying to use a Rule to set the value of one field based on the selection in
another, and I can't quite figure out how to do it.

Field: cboName
DataSource: AllEmpInfo (which includes the org_code for each emp_code)
Value: emp_code
Display name: emp_name

Field: cboOffice
DataSource: OfficeInfo
Value: org_code
Display name: org_name

I want the org_code from the AllEmpInfo table to set the value for the
second combo box, so when the user selects a name, the correct office is
pre-selected.

I tried setting the Value of the cboName field to the org_code, and then
setting the cboOffice to the value of the cboName field, but that just made
the name I selected switch to another name.

Many thanks for an answer or a link to additional information that will help
guide my endeavors!

--Karyl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top