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 / June 2005

Tip: Looking for answers? Try searching our database.

VLOOKUP???

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rchorner - 25 Jun 2005 00:41 GMT
Total newbie here, please excuse me.  I've bound a drop down control in my
form to one of the fields in an external LIST within my sharepoint site that
has multiple columns of data.  My question is: how can I automatically
populate other fields (read-only) on the form with other data elements
(columns) from the LIST?

If I were doing this in excel, I'd just do a VLOOKUP.  Any ideas???
Bruce Anderson - 28 Jun 2005 05:45 GMT
What worked for me was to add an Expression Box control.  The DataSource had
XPath:

xdXDocument:GetDOM("TestLookup")/ns1:myFields/ns1:entities/ns1:value[../ns1:key = current()/my:id]

I was able to build most of this XPath using wizard, but then had to edit
the XPath by inserting the current() reference.

Hope that helpls.

> Total newbie here, please excuse me.  I've bound a drop down control in my
> form to one of the fields in an external LIST within my sharepoint site that
[quoted text clipped - 3 lines]
>
> If I were doing this in excel, I'd just do a VLOOKUP.  Any ideas???
rchorner - 28 Jun 2005 07:29 GMT
Thanks, Bruce.  I also found a very helpful link on this subject that walks
you through, step by step, with screenshots.  My form is complete!

http://www.wssdemo.com/Pages/infopath_lookup_of_list_data.aspx?menu=Articles

> What worked for me was to add an Expression Box control.  The DataSource had
> XPath:
[quoted text clipped - 13 lines]
> >
> > If I were doing this in excel, I'd just do a VLOOKUP.  Any ideas???
 
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.