Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2007

Tip: Looking for answers? Try searching our database.

Populate fields based on selection in drop-down

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CycleFitness - 08 May 2007 16:15 GMT
_I have Matt Faus' article titled "Automatically Populate Fields from a
Drop-Down Selection," which describes how to use an XML file as a secondary
data source to looking up client information.

In my case, I'm using a connection to an Access database which is using a
query.  

I have a key field called dbPlanID in the database.  I have a drop-down list
in the InfoPath form named formPlanID.  The properties of the formPlanID
drop-down look like this:

Data Connection: qry_MakeSecurityGroup
Entries: /dfs:myFields/dfs:dataFields/d:qry_MakeSecurityGroup
Value: @PlanID
Display Name: @PlanID

This key field should then trigger populating one other field on the form:
frmName (from dbName)

In the Rules for the formPlanID drop-down I've added (based on Matt's
instructions):

Rule 1 - Set Name
Set a Field's Value = frmName = @dbName[dbPlanID = current()]

My drop-down list properly displays a list of PlanIDs, but when I select
one, the frmName does not populate.

I don't know much about XPath, so appreciate any help anyone can offer.

Deb
Chucky - 25 May 2007 00:32 GMT
I have the same issue. I want to autopopulate simple text fields from
information stored in an Access DB but only when a user selects an item from
a drop down box which is on the same form and connected to the same Access
DB.  This is likely very easy to do but I have yet to get it to work.

> _I have Matt Faus' article titled "Automatically Populate Fields from a
> Drop-Down Selection," which describes how to use an XML file as a secondary
[quoted text clipped - 27 lines]
>
> Deb
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.