Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2006

Tip: Looking for answers? Try searching our database.

submitting data to database!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MMJ - 26 Apr 2006 14:13 GMT
well .. i was just exploring InfoPath ... and it occured to me that u cannot
submit data to the database directly .... i mean insert a record in a
database!

there is a an option under actions in the rules section that sayz "submit
using data connection" but no database connection option is present

it seems that if one wishes to insert record /change the database, one has
to either write a script, or send a request to a custom webservice to get the
task done

is it really like that? correct me if i m wrong!! is there any special
reason y submit to database option is not included???
Shailaja - 27 Apr 2006 03:17 GMT
Hello MMJ,

If you are trying to both retrieve and submit data, then you would have to
create an InfoPath form which has the SQL connection as the main Data
connection. To do this please follow the steps below
1. In Design a Form task pane, click on New from Data connection
2. Create a data connection to the specific SQL DB in the data connection
wizard that comes up. In the last window of the data connection wizard you
will be told if Submit is allowed or not to this specific table in the
database.
3. This will create some default UI to be able to insert.
4. Submit is allowed based on text shown in the last window in the wizard -
you will be able to enable submission of forms using Tools -> Submitting
forms. This will allow you to update existing data in the database.

Hope this helps!
Signature

Shailaja
http://www.autonomysystems.com

> well .. i was just exploring InfoPath ... and it occured to me that u cannot
> submit data to the database directly .... i mean insert a record in a
[quoted text clipped - 9 lines]
> is it really like that? correct me if i m wrong!! is there any special
> reason y submit to database option is not included???
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.