<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating table and non repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/42952.aspx</link><pubDate>Mon, 15 Jun 2009 16:24:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42952</guid><dc:creator>rhyatt</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42952.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=42952</wfw:commentRss><description>&lt;p&gt;I figured out one issue. the datatype for the textbox field that is bound to&amp;nbsp;BACKUPSET in the DB is currently set to SimpleText. But it&amp;#39;s greyed out and I can&amp;#39;t change it to match what you have in your example.&lt;/p&gt;</description></item><item><title>Re: Repeating table and non repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/42943.aspx</link><pubDate>Mon, 15 Jun 2009 14:32:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42943</guid><dc:creator>rhyatt</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42943.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=42943</wfw:commentRss><description>&lt;p&gt;That is real cool thanks. Now my question is when I am putting in the code I&amp;#39;m getting an error stating:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;quot;../preceding-sibling::my:backup/my:tapes/backupset&amp;quot; does not point to a valid location path of a field or group.&lt;/p&gt;
&lt;p&gt;Here is the code I am using.&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;FS Backup Tape &amp;quot;, count(../preceding-sibling::my:Tapes/my:backupset) + 1)&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve changed my DB to look like this.&lt;br /&gt;Backup&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BackupDate&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SealDate&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SecuritySeal&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SealEMP1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SealEMP2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Notes&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UnsealEMP1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UnsealEMP2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tapes&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BackupSet&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BarcodeLabel&lt;/p&gt;
&lt;p&gt;Also the reason I am doing a single field for the barcode label is so I can search the DB for a barcode of a tape and it will find the tape reguardless of what backupset it is from. We currently have 4 different backup sets that run everyday. So my other question for you would be could I create multiple repeating sections in my form and set each repeating section up for a different backup set using the formula you sent, but still only use the 2 fields in my DB for Backupset and BarcodeLabel to list the tapes.&lt;/p&gt;
&lt;p&gt;Thanks again for your reply.&lt;/p&gt;</description></item><item><title>Re: Repeating table and non repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/42892.aspx</link><pubDate>Fri, 12 Jun 2009 22:32:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42892</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=42892</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve attached a sample that uses preceding-sibling to do what you want, I believe. Right click the link in the header of this post, and select save as to save the form locally. Then right click your local copy and select design to open in design mode. Preview to see the auto populated info, and add additional rows to see more. Hope that helps!&lt;/p&gt;</description></item><item><title>Repeating table and non repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/42890.aspx</link><pubDate>Fri, 12 Jun 2009 20:41:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42890</guid><dc:creator>rhyatt</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42890.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=42890</wfw:commentRss><description>&lt;p&gt;OK I will do my best to explain the problem I am having. I am trying to create an Infopath form that we can fill out for offsite tapes. I created a database with child tables as follows&lt;/p&gt;
&lt;p&gt;DB Backup&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tables&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBO.BACKUP&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBO.TAPES&lt;/p&gt;
&lt;p&gt;The backup table has the following:&lt;br /&gt;BackupDate (Prim KEY)&lt;br /&gt;SealDate&lt;br /&gt;SecuritySeal&lt;br /&gt;SealEMP1 (Prim Key)&lt;br /&gt;SealEmp2 (Prim Key)&lt;br /&gt;Notes&lt;br /&gt;UnsealEMP1 (Prim Key)&lt;br /&gt;UnsealEMP2 (Prim Key)&lt;/p&gt;
&lt;p&gt;Tapes table has the following:&lt;br /&gt;BackupDate (Prim Key)&lt;br /&gt;BackupSet&lt;br /&gt;BarcodeLabel&lt;br /&gt;SealEMP1 (Prim Key)&lt;br /&gt;SealEmp2 (Prim Key)&lt;br /&gt;UnsealEMP1 (Prim Key)&lt;br /&gt;UnsealEMP2 (Prim Key)&lt;/p&gt;
&lt;p&gt;I have the BACKUP table set as a Section and the TAPES table set as a Repeating Table. I have the table repeating like 11 times on the form which is the current number of offsite tapes we have. What they would like to have done on the form is this. The Backupset field to be pre populated with the backup set name for each tape. So if the first set of tapes was for a file server backup they would want the backup set to already have &amp;quot;FS backup Tape 1&amp;quot;, FS Backup Tape 2&amp;quot;, etc already there. The BackupDate, Seal EMP1, SealEMP2, UnsealEMP1, UnsealEMP2, on the repeating table to contain the same information as what is listed in the Backup table Section of the form. &lt;/p&gt;
&lt;p&gt;The problem is that I don&amp;#39;t know how to get the backupset names to prepopulate into the repeating section and when you will out the backupdate, sealemp1, etc part of the form it only copies to the first part of the repeating table. I had sugested doing a drop down list for the Backup set but the concern is that there is a chance to select the wrong set name for a tape. any Ideas you can think of would be great. If you need further information I can try to explain further.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>