Solved

Data Binding In InfoPath Form

Posted on 2011-03-02
7
517 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

632 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