Solved

InfoPath SharePoint List Form - Pull Record to Autofill Form

Posted on 2013-05-17
2
1,479 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
Comment Utility
0
 
LVL 28

Accepted Solution

by:
clayfox earned 475 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now