Hi Shem
Yes it is possible. And the best news - you can do this without code!
Try this as an example
(1) Create a secondary data source to connect to your sharepoint list (I
connected to a task list in a team site)
(2) Add a drop down list field to your form and set its properties to
retrieve data from the secondary data source you created. (I had mine pull
the title from the task list)
(3) Add another text field to your form
(4) Add a rule to your drop down list that sets a field's value. My rule
looked like:
field6 = @Assigned_To[@Title = field5]
Here what I am doing is setting field6 (my textbox) to the value in the
Assigned_To field in the Sharepoint Task List where the title equals the
title I selected from my drop down list (field5). I'm using filtering.
Hope this helps.
Michelle
Shem said:
Hi Folks, a newbie here. Is it possible to to enter a name ina field in
Infopath and it looks up data in sharepoint and if a match is found it will
autopopulate fields within the infopath form?? Some code would be nice if
anyboday can help
Thanks in advance