Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Data Binding In InfoPath Form

Posted on 2011-03-02
7
Medium Priority
?
544 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 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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…
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

972 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