Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Data Binding In InfoPath Form

Posted on 2011-03-02
7
Medium Priority
?
526 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 1500 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
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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…
Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

722 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