<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22665.aspx</link><pubDate>Mon, 27 Aug 2007 13:48:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22665</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22665.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22665</wfw:commentRss><description>sorry for the late response but i think you have to find another way yourself now as at least i am out of any ideas. i also think that we have mentioned already most of the possible solutions. good luck anyway.</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22642.aspx</link><pubDate>Fri, 24 Aug 2007 18:10:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22642</guid><dc:creator>repole</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22642.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22642</wfw:commentRss><description>&lt;p&gt;function DeleteRow()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var cn = new ActiveXObject(&amp;quot;ADODB.Connection&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var strConn = &amp;quot;PUTSQLCONNECTIONSTRINGHERE&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cn.Open(strConn);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var rs = new ActiveXObject(&amp;quot;ADODB.Recordset&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var SQL = &amp;quot;delete from Requests where referenceID=&amp;quot;+XDocument.DOM.selectSingleNode(&amp;quot;dfs:myFields/dfs:dataFields/d:Requests/@referenceID&amp;quot;).text;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs.Open(SQL, cn);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var SQLnew = &amp;quot;delete from furtherTracking where referenceID=&amp;quot;+XDocument.DOM.selectSingleNode(&amp;quot;dfs:myFields/dfs:dataFields/d:Requests/@referenceID&amp;quot;).text;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs.Open(SQLnew, cn);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cn.Close(); &lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;That code deletes a row from the database. Now, with similar code, shouldnt I be able to query the database and select the largest number. However if I used &amp;quot;select&amp;quot; rather than delete, how would I store the result, in a dataset? I think I&amp;#39;ve got somewhat of a general concept here, but I need some help actually writing the code...&lt;/p&gt;</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22641.aspx</link><pubDate>Fri, 24 Aug 2007 17:50:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22641</guid><dc:creator>repole</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22641.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22641</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve looked into it earlier, and while I find it incredibly useful and a great tool, my company isn&amp;#39;t interested, and quite honestly it&amp;#39;s not worth it when I&amp;#39;ve got one incredibly minor error left to fix. I appreciate the help you lended earlier however, and I wish you luck with the accelerator, because I think it can be an extremely helpful tool.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;On a side note, 3 hours left and I&amp;#39;m still left with this one issue. This has to be overcomable without a webservice, it seems like something that plenty of people would need in their forms.&lt;/p&gt;</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22640.aspx</link><pubDate>Fri, 24 Aug 2007 16:00:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22640</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22640.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22640</wfw:commentRss><description>&lt;p&gt;Hi Nick,&lt;/p&gt;
&lt;p&gt;We have a free dev edition of our database web service available if you want to give it a try... &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/files/folders/dbxldownload/entry22386.aspx"&gt;http://www.infopathdev.com/files/folders/dbxldownload/entry22386.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let us know if you need help setting it up. Should take &amp;lt;30 minutes.&lt;/p&gt;</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22629.aspx</link><pubDate>Fri, 24 Aug 2007 12:47:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22629</guid><dc:creator>repole</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22629.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22629</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Appreciate the response. Only 8 hours left&amp;nbsp;=] &lt;/p&gt;
&lt;p&gt;Inserting the fields was drag and drop, but the form was created from the database, it&amp;#39;s not a secondary datasource but rather the main one.&amp;nbsp;What is odd is that when I run the query through code, the fields do lock up, but if I run a query with a button it works just fine and none of the fields get locked up. Why is that and is there anyway other than web services to fix that aside from web services. I don&amp;#39;t think I have time to implement web services honestly, because I still have a few other smaller issues I&amp;#39;m fixing. &lt;/p&gt;</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22607.aspx</link><pubDate>Fri, 24 Aug 2007 06:20:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22607</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22607</wfw:commentRss><description>Okay sorry for the late reply I know it&amp;#39;s friday already and you need to get things finished. Night shift I guess :). So at least now I know what you mean. You have a connection to a database table as a secondary datasource and when you run the query it populates your fields in your infopath form but also locks them and you need to have them writeable and also show tha biggest referenceID number. I guess that you draged and droped the fields from your secondary datasource into your form. sorry but then the fields will be always locked as you are not allowed to write any data into that fields (as it would mean change values in the database (if you had the possibility to submit the data), this is only possible if you from the beginning on build your form from a dataconnection to a database.) my proposal is that you use a webservice to solve your problem. please have a look here: http://msdn2.microsoft.com/en-us/library/bb735652(office.11).aspx hope this keeps you going------ also this one here maybe even better http://msdn2.microsoft.com/en-us/library/bb735659(office.11).aspx</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22572.aspx</link><pubDate>Thu, 23 Aug 2007 12:11:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22572</guid><dc:creator>repole</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22572.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22572</wfw:commentRss><description>&lt;p&gt;The insertion works perfectly, yet again you&amp;#39;ve come through :)&lt;/p&gt;
&lt;p&gt;As for the ID, it really is a must that the user sees it, because they need to be able to reference it themselves later. What I mean by the other fields locking up is if I run a query through code, it fills in the fields it can, however nothing on the form is editable. It&amp;#39;s all locked. I can set my table up to have an autonumber, however the issue there is that the user never sees it. I don&amp;#39;t know anything about GUID&amp;#39;s, and a quick search doesn&amp;#39;t turn up much, how do they work?&lt;/p&gt;</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22558.aspx</link><pubDate>Thu, 23 Aug 2007 06:20:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22558</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22558.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22558</wfw:commentRss><description>okay let&amp;#39;s get it on. thank god it&amp;#39;s friday soon :) . Regarding your second question, this is easy to solve: uncheck the Show Insert Item bla bla bla from the repeating sections properties. drag and drop two buttons into you repeating section. name one &amp;quot;hey dude here you can insert a new section&amp;quot; and one &amp;quot;delete&amp;quot; and create the onClick events so that you can write some code. now in your infopath form in the menu go to files and select &amp;quot;Extract Form Files&amp;quot;. Browse to the folder where you extracted the files to and open the manifest file with the notepad. search for the xmlToEdit name of your repeating group, if you have not renamed it, it will be someting like &amp;quot;group2_1&amp;quot;. now jump back to your script editor and for your insert button use XDocument.View.ExecuteAction(&amp;quot;xCollection::insert&amp;quot;,&amp;quot;xmlToEditName&amp;quot;). Replace the ::insert with ::remove for the delete button. That&amp;#39;s it. Easy once you know the trick. regarding your second question. do you know what the very nice thing about GUIDs is. They save you a lot of brain pain ! With GUIDs you are able to actually sent primary key values into your database from your front end. I don&amp;#39;t remember exactly if it is 128bit or 256bit but you are 99.99% on the save side that the same number won&amp;#39;t appear twice. Okay the number is a bit hard to read if you really have the need to show it to the user in your form. Otherwise i have a question. What do you mean by the query locks the other controls ? Hope the information is at least a bit helpful. good luck anyway. sorry for the formatting i have some trouble here...</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22547.aspx</link><pubDate>Wed, 22 Aug 2007 18:38:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22547</guid><dc:creator>repole</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22547.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22547</wfw:commentRss><description>&lt;p&gt;Thank you very very much Agni Jonnalagadda and nukkumatti. Agni your solution worked, however I decided to take the button out of the repeating section for cosmetic reasons, which of course made the eventObj.Source call not work to the right extent. The thread nukkumatti linked to had what I ultimately was looking for. I really appreciate the help, can&amp;#39;t thank you all enough.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;EDIT: I&amp;#39;ve got a few new problems, the initial post has been updated,&lt;/p&gt;</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22517.aspx</link><pubDate>Wed, 22 Aug 2007 06:16:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22517</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22517.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22517</wfw:commentRss><description>Hi, please have a look here. It should help you solving you issue: http://www.infopathdev.com/forums/p/5091/19620.aspx#19620</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22516.aspx</link><pubDate>Wed, 22 Aug 2007 04:24:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22516</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22516.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22516</wfw:commentRss><description>&lt;p&gt;You dont need to write full XPath you can just use&lt;/p&gt;
&lt;p&gt;eventObj.Source.selectSingleNode(&amp;quot;@delegateToEmail&amp;quot;);&lt;/p&gt;
&lt;p&gt;This above line of code will get you the correct email alias that you want.&lt;/p&gt;</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22489.aspx</link><pubDate>Tue, 21 Aug 2007 21:01:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22489</guid><dc:creator>repole</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22489.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22489</wfw:commentRss><description>&lt;p&gt;Welp, still having trouble here. The concept is good, the execution is bad. &lt;/p&gt;
&lt;p&gt;When I try to use an xpath&amp;nbsp;&amp;nbsp;dfs:dataFields/d:Requests/d:furtherTracking[2]/@delegateToEmail it does use the correct repeating section. However when I put dfs:dataFields/d:Requests/@numReDelegated in place of the 2, and set that to equal 2 to start, it doesn&amp;#39;t accomplish the job. The formula only verifies if I put dfs:dataFields/d:Requests/@numReDelegated in quotes.&lt;/p&gt;</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22483.aspx</link><pubDate>Tue, 21 Aug 2007 19:13:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22483</guid><dc:creator>repole</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22483.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22483</wfw:commentRss><description>&lt;p&gt;ah, eventObj.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Well, that&amp;#39;s useful, but now how do I change the xpath for my email submit? Or would be creating a Email though code be a better way of going about things?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;EDIT: silly me, putting quotes around my:count seems to work. Lemme go try that all out...&lt;/p&gt;</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22481.aspx</link><pubDate>Tue, 21 Aug 2007 19:07:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22481</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22481.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22481</wfw:commentRss><description>&lt;p&gt;function CTRL1_5::OnClick(eventObj)&amp;nbsp;&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eventObj.Source; //This will give you the row in which you have clicked your button on.&lt;br /&gt;} &lt;/p&gt;</description></item><item><title>Re: Repeating Section Email (REALLY need help here)</title><link>https://www.infopathdev.com:443/forums/thread/22479.aspx</link><pubDate>Tue, 21 Aug 2007 18:56:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22479</guid><dc:creator>repole</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22479.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22479</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve never used e.source before, and after browsing around the web I&amp;#39;m still confused. When I try using it in my code it tells me e is undefined.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you give me some sort of example (preferably in javascript)&amp;nbsp; that could demonstrate this? I&amp;#39;m pretty lost, and a bit stressed out since I&amp;#39;m leaving Friday and need to have this done.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Really appreciate the help.&lt;br /&gt;&lt;br /&gt;EDIT:&lt;/p&gt;
&lt;p&gt;Shouldn&amp;#39;t I&amp;nbsp;simply be able to set the xpath of my email be dfs:dataFields/d:Requests/d:furtherTracking[my:count]/@delegateToEmail and have a field my:count that keeps track of how many times a new section has been inserted? I tried inserting this for my xpath, however it gives me an error and converts d:furtherTracking[my:count] to d:furtherTracking/my:count, which isn&amp;#39;t right...&lt;/p&gt;</description></item></channel></rss>