Solved

Data Binding In InfoPath Form

Posted on 2011-03-02
7
470 Views
Last Modified: 2012-05-11
I am new to Infopath Forms.
I have 3 requirements 1. Need to start the form from SQL databse date field and send as email attachment. The completed form will point to document library in SharePoint.
2. I need to databind the Name and address fields to SQL database.
both select and then 3. update to the SQL database from the form.

Can someone help me with this.

0
Comment
Question by:nsdlsandy
  • 4
  • 3
7 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
ID: 35020741
Not sure if I completely understand but I will walk through a common scenario.

Assume users have InfoPath client.

Create a form template based on a SQL database table.
It should both receive and submit data.

You can then query and update or even insert data into your SQL table.

You can also create additional data connections to submit to email and to SharePoint.

I caution the email and sharepoint since there is a potential that the data in the form can get stale or out of sync with the master database.

I always make the form query or refresh the data from SQL each time so that the user always gets the latest data for the record.

So I only send a hyperlink to a new form and they query the record they want. Same with SharePoint I do not save the xml files I just update the database and have them open a new record each time.

Hope that helps.
0
 
LVL 1

Author Comment

by:nsdlsandy
ID: 35023926
Thanks for guiding me, do you know if I I need to start the form using a date field in the list of SharePoint, will some workflow can help me. I am using wss3.0 .
0
 
LVL 28

Expert Comment

by:clayfox
ID: 35024207
Not sure what you are trying to do and where the date comes in.

Are you using a database or a SP list?

SharePoint has no requirement to host the form. I would recommend you create the library has you publish rather than creating one before hand.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 1

Author Comment

by:nsdlsandy
ID: 35024545
Clayfox,

Sorry for the confusion. My data will come from the SharePoint List.

Thanks
0
 
LVL 1

Author Comment

by:nsdlsandy
ID: 35037589
clayfox,

I am using WSS 3.0 and Dataconnection is not working on INFoPath 2007.
Can you help?
0
 
LVL 28

Expert Comment

by:clayfox
ID: 35037617
I am sorry but I still do not understand what you are trying to do.

You have a form and you want to view list data or update list data?

To edit list data, with 2007 requires a CAML file which there are multiple posts on www.infopathdev.com.
0
 
LVL 1

Author Closing Comment

by:nsdlsandy
ID: 35169337
Got the right direction to find the solution.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

786 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