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 / January 2008

Tip: Looking for answers? Try searching our database.

Repeating table w/SQL data connection can't preserve history

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dsant-bi - 23 Jan 2008 01:55 GMT
Background:  This is a status report form requiring history week to week.

I have the repeating table connected to a SQL data connection.  When the
form opens I use this connection to populate this repeating table with the
previous week's milestones (always multiple), is this case 3 rows.   Next, I
need to make changes to the 3 milestones and add a fourth.  Before the user
submits to DB they are required to pick a week ending date.  I use this date
to update the datestamp on the records I'm about to submit.  So what I would
expect is 4 new rows in SQL table with the new datestamp, instead I'm getting
1 new row (milestone 4) and 3 updated rows (milestones 1-3) all with the new
datestamp.  It seems Infopath can't treat rows 1-3 as new, so it updates the
existing rows.  So the big question is how do you maintain a history with
Infopath in a repeating table?
Clay Fox - 23 Jan 2008 07:40 GMT
You would need to use code to clone the rows.(insert three rows, copy the
last three rows, add another)
I believe there are some forum discussions and code samples on
http://www.infopathdev.com

Also you may want to look at the Database Accelerator package from
http://www.qdabra.com.

Its webservices include history and saudit tracking so you can see who
opened, modified, and closed a document. You can even get to the field level
if needed.  It is HIPAA and SOX compliant.
Signature

Thanks

Clay Fox

Qdabra Software
http://www.qdabra.com

InfoPathDev.Com
The Largest InfoPath Forum in the World
http://www.infopathdev.com

> Background:  This is a status report form requiring history week to week.
>
[quoted text clipped - 9 lines]
> existing rows.  So the big question is how do you maintain a history with
> Infopath in a repeating table?
 
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.