Solved

InfoPath SharePoint List Form - Pull Record to Autofill Form

Posted on 2013-05-17
2
1,504 Views
Last Modified: 2013-05-17
Hello,

I have a SharePoint 2010 list with a number of different fields. I'll call it the main list. I am using InfoPath to edit the NewForm.aspx page.

I have a second list that I use simply for storage. It links a serial number to the name of a product. There are just two columns, Serial Number, and Product Title.

In my main list, I ask the user for a serial number. I want to have an InfoPath rule such that when a user enters a serial number into the serial number, if it exists in the other table, it will look it up from the other table and autofill the product title for the user in the main list.

Can someone point me in the direction of the rule formula/code I would need to accomplish that?

Thanks!
Joseph Irvine
0
Comment
Question by:jkeagle13
2 Comments
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
ID: 39175081
0
 
LVL 28

Accepted Solution

by:
clayfox earned 475 total points
ID: 39175108
You need a secondary data connection to the SP list to receive

on the serial number entry field put a rule that has the action to set a fields value
the field to set is the product name in the main list.
for the value select the FX button
then select a field and navigate to the secondary list and to the product name field.
at that point select the filter button in the lower left of the window.

add a filter
select the serial number field on the left
equals
then select a field and choose the serial number field the user entered in the main list.

that is all it takes.  It is case sensitive if you have alpha characters, but you can use a translate function if needed.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question