Solved

Data Binding In InfoPath Form

Posted on 2011-03-02
7
438 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Author Comment

by:nsdlsandy
Comment Utility
Clayfox,

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

Thanks
0
 
LVL 1

Author Comment

by:nsdlsandy
Comment Utility
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
Comment Utility
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
Comment Utility
Got the right direction to find the solution.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now