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 / May 2005

Tip: Looking for answers? Try searching our database.

submitting to simple database not working correctly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeffrey - 03 May 2005 18:56 GMT
I have created a database that has only one table in it just to test
out infopath. There are a couple columns in the database and I made one
the primary key. I create a form in infopath and everything goes well.
I fill out the form and submit and it is successful. Repeat,
successful. etc. But, when I actually go look at the db using Query
analyzer, there is only one line in the table. Everything I type in the
form replaces the existing line in the db. Is this what the submit
button does or ?
Alex - 03 May 2005 19:06 GMT
Jeffrey,

This is expected behavior - when you submit, the database gets updated
with the data that is in your form currently. InfoPath does not perform
a re-insert - so that you could perform an Update operation.

If you want to add several records, insert a repeating table, and bind
it to the repeating group in your data source. A simple way to do this
is to open a Data Source task pane and drag-and-drop your repeating
group onto the form.

Then, when filling out this form, you will have an option to insert
additional rows to that table - which will be almost like editing the
database directly (insert a record - it will appear in the database
after submit).

Good luck!
Alex @ Microsoft

-----Original Message-----
From: Jeffrey [mailto:jeffreyvsmith@gmail.com]
Posted At: Tuesday, May 03, 2005 10:57 AM
Posted To: microsoft.public.infopath
Conversation: submitting to simple database not working correctly
Subject: submitting to simple database not working correctly

I have created a database that has only one table in it just to test
out infopath. There are a couple columns in the database and I made one
the primary key. I create a form in infopath and everything goes well.
I fill out the form and submit and it is successful. Repeat,
successful. etc. But, when I actually go look at the db using Query
analyzer, there is only one line in the table. Everything I type in the
form replaces the existing line in the db. Is this what the submit
button does or ?
 
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.