<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating table to add new record OR update exisiting record.</title><link>https://www.infopathdev.com:443/forums/thread/76024.aspx</link><pubDate>Fri, 02 Mar 2012 17:30:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76024</guid><dc:creator>JodyG</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76024.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=76024</wfw:commentRss><description>&lt;p&gt;Ok...&lt;/p&gt;
&lt;p&gt;So what I have found out is I need a way to do a repetitive query in the same form. How to accomplish this?&lt;/p&gt;
&lt;p&gt;I tried binding the first field in my repeating table (PartNumber) to a query field, but wouldn&amp;#39;t you know it filled out all data fields on the form...and when I inserted another row to the repeating table, it autopopulated with the previous row&amp;#39;s information.&lt;/p&gt;
&lt;p&gt;I am also in the process of deciding just how much form information I really need to store in the database. Alot of the information is for workflow tracking...and tied to the database as a rolling action item list...any ideas on how to better accomplish this?&lt;/p&gt;</description></item><item><title>Re: Repeating table to add new record OR update exisiting record.</title><link>https://www.infopathdev.com:443/forums/thread/75880.aspx</link><pubDate>Wed, 29 Feb 2012 18:41:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75880</guid><dc:creator>JodyG</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75880.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=75880</wfw:commentRss><description>&lt;p&gt;Thanks again Patrick. For clarity, I am just connected to an Access 2007&amp;nbsp;Database and have no real knowlege of manipulating SQL databases or dealing with SQL Management Studio. I really am looking for simple and easy and something that does not cost much more time or money. The PartNumbersTable that I am trying to deal with is used&amp;nbsp;by other tables in the database. I cannot modify the key or modify the rules of the PartNo field for database integrity. I am merely adding a method of inputting and updating data, and giving it an email based&amp;nbsp;workflow.&lt;/p&gt;
&lt;p&gt;I guess the next question is...will a repeating table even work for what I am trying to accomplish?&lt;/p&gt;</description></item><item><title>Re: Repeating table to add new record OR update exisiting record.</title><link>https://www.infopathdev.com:443/forums/thread/75867.aspx</link><pubDate>Wed, 29 Feb 2012 18:07:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75867</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75867.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=75867</wfw:commentRss><description>I responded to the other thread with one idea.</description></item><item><title>Repeating table to add new record OR update exisiting record.</title><link>https://www.infopathdev.com:443/forums/thread/75852.aspx</link><pubDate>Wed, 29 Feb 2012 17:29:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75852</guid><dc:creator>JodyG</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75852.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=75852</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I posted this in the General forum, but I thought I would repost here for different input...&lt;/p&gt;
&lt;p&gt;I am relatively new to using infopath. Here is what I am trying to accomplish:&lt;/p&gt;
&lt;p&gt;I have a database with a table of Part Numbers and related information such as description, revision, etc. The part numbers are keyed with a unique ID and the part number values&amp;nbsp;themselves cannot repeat (database field rule). This is a Document/Revision Control database.&lt;/p&gt;
&lt;p&gt;I have an Infopath request form that is setup as a document workflow. It has a repeating table for part numbers and revision description, etc.&lt;/p&gt;
&lt;p&gt;What I want is the ability for the repeating table to:&lt;/p&gt;
&lt;p&gt;1. Add new records to the part number table that do not exist.&lt;/p&gt;
&lt;p&gt;2. Update exisiting records, only modifying certain fields such as revision description, etc.&lt;/p&gt;
&lt;p&gt;Setup for 1 is easy and done.&lt;/p&gt;
&lt;p&gt;But, when I try to add a part number that already exists, I get an error upon submit that tells me that I cannot add it because it would violate the database rule of reating values for the [PartNo] field.&lt;/p&gt;
&lt;p&gt;Here is an example of the database tables:&lt;/p&gt;
&lt;p&gt;RequestTable (for the general form info such as due date, project info&amp;nbsp;and who the form gets routed to for approval):&lt;/p&gt;
&lt;p&gt;[RequestID] [Requestor] [DueDate] ...&lt;/p&gt;
&lt;p&gt;PartNumbersTable:&lt;/p&gt;
&lt;p&gt;[P/NID] [RequestID] [PartNo] [Description] [Type] [Rev] [NextRev] [RevDesc] [Matl] ....&lt;/p&gt;
&lt;p&gt;All ID fields are unique keys and [PartNo] is indexed with no duplicates allowed.&lt;/p&gt;
&lt;p&gt;The repeating table is completely based on the PartNumbersTable, with exception of course the ID fields.&lt;/p&gt;
&lt;p&gt;As you can see, it is pretty straight forward for adding records...no real problem there. The only problem is inputting data that already exists but some fields need updating such as [RevDesc] for existing records that are being revised.&lt;/p&gt;
&lt;p&gt;I am trying to avoid creating another form for updating records. I tried creating a duplicated PartNumbersTable2 in the database, but that doesn&amp;#39;t update the main PartNumbersTable which. I have looked into using a query field for PartNo, but that cannot be in a repeating table.&lt;/p&gt;
&lt;p&gt;The desired result is a form with repeating table, and all the user needs to do is input a part number...if record is new then the remaining fields are blank...if record exists then certain records autopopulate and the user just updates required fields like [NextRev] and [RevDesc]...&lt;/p&gt;
&lt;p&gt;Any advice?&lt;/p&gt;</description></item></channel></rss>