<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.infopathdev.com/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>Jimmy Rishe - All Comments</title><link>http://www.infopathdev.com/blogs/jimmy/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>re: A mutually exclusive radio button in a repeating section</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2009/08/05/a-mutually-exclusive-radio-button-in-a-repeating-section.aspx#81388</link><pubDate>Mon, 06 Aug 2012 09:03:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81388</guid><dc:creator>hemendraagrawal</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;I have implement same and it is working fine in client but it is not working with browser based form. &lt;/p&gt;
&lt;p&gt;Is there any change to make available for browser based form?&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=81388" width="1" height="1"&gt;</description></item><item><title>re: Programmatically adding rows to repeating sections</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx#78983</link><pubDate>Mon, 28 May 2012 20:10:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78983</guid><dc:creator>SPowell</dc:creator><description>&lt;p&gt;I LOVE YOU.&lt;/p&gt;
&lt;p&gt;THANK. YOU.&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=78983" width="1" height="1"&gt;</description></item><item><title>re: Using DBXL with existing data - Other approaches</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2011/07/27/using-dbxl-with-existing-data-other-approaches.aspx#69217</link><pubDate>Thu, 11 Aug 2011 22:05:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69217</guid><dc:creator>DC-jeff</dc:creator><description>&lt;p&gt;Jimmy - &lt;/p&gt;
&lt;p&gt;This makes total sense from the database perspective but I'm trying to figure out how this is handled from the UI perspective. &amp;nbsp;For example, a document is submitted to DBXL resulting in a new record in the database. &amp;nbsp;The document is then available via DBXL (and possibly SharePoint) if further updates to the document and database record are required. &amp;nbsp;How can this same functionality be achieved for the &amp;quot;legacy&amp;quot; records not created within InfoPath &amp;amp; DBXL. &amp;nbsp;How can those records be presented via InfoPath for user edits when no document exists yet?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=69217" width="1" height="1"&gt;</description></item><item><title>re: Saving Forms as New to DBXL</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2010/06/16/saving-forms-as-new-to-dbxl.aspx#66481</link><pubDate>Thu, 12 May 2011 08:55:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66481</guid><dc:creator>Patrick Halstead</dc:creator><description>&lt;p&gt;Hi ZhenYuan and sorry for missing this. If you are using qRules, we have a command called RemoveDBXLPI which will also do this. &lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=66481" width="1" height="1"&gt;</description></item><item><title>re: Saving Forms as New to DBXL</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2010/06/16/saving-forms-as-new-to-dbxl.aspx#62097</link><pubDate>Thu, 09 Dec 2010 02:57:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62097</guid><dc:creator>ZhenYuan</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;I tried using your code method but my forms are still submitted as a new version instead of as a new docid. I placed the code below on my form's loading event and then opened a submitted form from DBXL and resubmitted the form. The end result was the newly submitted form was submitted as a new version of the original docID. Did I miss out anything?&lt;/p&gt;
&lt;p&gt;My code:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim piXPath As String&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim pi As XPathNavigator&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;piXPath = &amp;quot;/processing-instruction()[name() = 'QdabraDBXL']&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pi = Me.MainDataSource.CreateNavigator()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pi.SelectSingleNode(piXPath, Me.NamespaceManager).DeleteSelf()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Catch delDOCID As Exception&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Return&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Try &lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=62097" width="1" height="1"&gt;</description></item><item><title>re: Using qRules' SaveToSharePoint Command Without SharePoint</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2010/06/04/using-qrules-savetosharepoint-command-without-sharepoint.aspx#59154</link><pubDate>Wed, 22 Sep 2010 14:48:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59154</guid><dc:creator>Mel Balsamo</dc:creator><description>&lt;p&gt;For instructions on how to use the SaveToSharePoint command with your SharePoint server, refer to the document found here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.infopathdev.com/files/folders/qrules/entry59151.aspx"&gt;www.infopathdev.com/.../entry59151.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=59154" width="1" height="1"&gt;</description></item><item><title>re: XPath's confusing not() function - inverting a boolean field</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2008/10/25/xpath-s-confusing-not-function-inverting-a-boolean-field.aspx#56328</link><pubDate>Wed, 30 Jun 2010 04:26:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56328</guid><dc:creator>jerkham</dc:creator><description>&lt;p&gt;While this is a fairly simple concept, it's not intuitive. &amp;nbsp;Very glad to find this information. &amp;nbsp;Thanks!&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=56328" width="1" height="1"&gt;</description></item><item><title>re: Using qRules' SaveToSharePoint Command Without SharePoint</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2010/06/04/using-qrules-savetosharepoint-command-without-sharepoint.aspx#56148</link><pubDate>Wed, 23 Jun 2010 14:24:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56148</guid><dc:creator>ErnestoM</dc:creator><description>&lt;p&gt;If you are using IIS 6.0, check out Jimmy's follow up blog entry:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.infopathdev.com/blogs/jimmy/archive/2010/06/18/webdav-security-and-webdav-on-iis-6-0.aspx"&gt;www.infopathdev.com/.../webdav-security-and-webdav-on-iis-6-0.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=56148" width="1" height="1"&gt;</description></item><item><title>re: Executing a stored procedure with OUTPUT parameters</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2009/08/01/executing-a-stored-procedure-with-output-parameters.aspx#49505</link><pubDate>Mon, 30 Nov 2009 05:32:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49505</guid><dc:creator>Jimmy</dc:creator><description>&lt;p&gt;Hey sasyregak,&lt;/p&gt;
&lt;p&gt;Sorry for not responding to your post until now. &amp;nbsp;I don't get notifications about comments on my blog posts and the easiest way to get a response is to open a new forum post.&lt;/p&gt;
&lt;p&gt;It sounds like you are trying to use this technique on your main data source. &amp;nbsp;InfoPath performs schema validation on the main data source and an operation like this that returns a schema other than the expected one will cause that error.&lt;/p&gt;
&lt;p&gt;Might you be able to try this technique on a secondary data source?&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=49505" width="1" height="1"&gt;</description></item><item><title>Social comments and analytics for this post</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2009/08/01/executing-a-stored-procedure-with-output-parameters.aspx#48422</link><pubDate>Fri, 30 Oct 2009 16:56:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48422</guid><dc:creator>uberVU - social comments</dc:creator><description>&lt;p&gt;This post was mentioned on Twitter by InfoPathDev: Blog: Executing a stored procedure with OUTPUT parameters in InfoPath - &lt;a rel="nofollow" target="_new" href="http://su.pr/7WfE2W"&gt;http://su.pr/7WfE2W&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=48422" width="1" height="1"&gt;</description></item><item><title>re: Programmatically adding rows to repeating sections</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx#48347</link><pubDate>Thu, 29 Oct 2009 12:26:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48347</guid><dc:creator>NashParrot</dc:creator><description>&lt;p&gt;I'm using this strategy for repeating sections, very succesfully. &amp;nbsp;It is based on a multi-select list. &amp;nbsp;I need to assign a value contained in that section (row) but don't know how to select the newly created section in order to get to the field. &amp;nbsp;Any ideas?&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=48347" width="1" height="1"&gt;</description></item><item><title>re: Executing a stored procedure with OUTPUT parameters</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2009/08/01/executing-a-stored-procedure-with-output-parameters.aspx#46387</link><pubDate>Fri, 28 Aug 2009 13:02:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46387</guid><dc:creator>sasyregak</dc:creator><description>&lt;p&gt;Further after trouble shooting....I am able to find the output of the query in query analyser giving rise to a date value(single).&lt;/p&gt;
&lt;p&gt;But the preview on infopath given the following error&lt;/p&gt;
&lt;p&gt;The query cannot be run for the following DataObject: Report connection&lt;/p&gt;
&lt;p&gt;The XML data returned from the data source does not match the XML Schema for this form. This discrepancy might be caused by the data source returning multiple rows when InfoPath expects only one.&lt;/p&gt;
&lt;p&gt;Element '{&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields"&gt;schemas.microsoft.com/.../dataFields&lt;/a&gt;}row' is unexpected according to content model of parent element '{&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"&gt;schemas.microsoft.com/.../dataFormSolution&lt;/a&gt;}dataFields'.&lt;/p&gt;
&lt;p&gt;Expecting: {&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields"&gt;schemas.microsoft.com/.../dataFields&lt;/a&gt;}FileGeneralInfo.&lt;/p&gt;
&lt;p&gt;Appreciate your help on this.....&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=46387" width="1" height="1"&gt;</description></item><item><title>re: Executing a stored procedure with OUTPUT parameters</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2009/08/01/executing-a-stored-procedure-with-output-parameters.aspx#46328</link><pubDate>Thu, 27 Aug 2009 12:46:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46328</guid><dc:creator>sasyregak</dc:creator><description>&lt;p&gt;Jimmy&lt;/p&gt;
&lt;p&gt;Thanks for your tips... I was stuggling to get this achieved.&lt;/p&gt;
&lt;p&gt;/ Get the default SQL command for the form.&lt;/p&gt;
&lt;p&gt;var strOrigSQLCommand = XDocument.QueryAdapter.Command;&lt;/p&gt;
&lt;p&gt;//Find the value of the filter criteria&lt;/p&gt;
&lt;p&gt;var strInspectionValuationhistory = XDocument.DOM.selectSingleNode(&amp;quot;/dfs:myFields/dfs:queryFields/q:Inspection_Valuation_history&amp;quot;);&lt;/p&gt;
&lt;p&gt;var strvisit = strInspectionValuationhistory.selectSingleNode(&amp;quot;@Which_visit&amp;quot;).text;&lt;/p&gt;
&lt;p&gt;strvisit = strvisit - 1; //store the previous visit value&lt;/p&gt;
&lt;p&gt;if(strvisit != &amp;quot;&amp;quot;)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;	strpreviousvisitSQLcommand = &amp;quot;DECLARE @Previousvisitdate datetime &amp;quot; + &amp;quot; EXECUTE test &amp;quot; + strvisit + &amp;quot; ,@Previousvisitdate OUTPUT &amp;quot; + &amp;quot; SELECT @Previousvisitdate as previousdate&amp;quot;;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;XDocument.UI.Alert(strpreviousvisitSQLcommand);&lt;/p&gt;
&lt;p&gt;XDocument.QueryAdapter.Command = strpreviousvisitSQLcommand;&lt;/p&gt;
&lt;p&gt;XDocument.Query();&lt;/p&gt;
&lt;p&gt;//Here i need to get the result stored in a global variable , so that i can refer in any other view whereever required.......please guide me&lt;/p&gt;
&lt;p&gt;XDocument.QueryAdapter.Command = strOrigSQLCommand;&lt;/p&gt;
&lt;p&gt;XDocument.Query();&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=46328" width="1" height="1"&gt;</description></item><item><title>re: A mutually exclusive radio button in a repeating section</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2009/08/05/a-mutually-exclusive-radio-button-in-a-repeating-section.aspx#46256</link><pubDate>Wed, 26 Aug 2009 15:47:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46256</guid><dc:creator>Alec Pojidaev</dc:creator><description>&lt;p&gt;You might be intersted to look at my alternative solution. To compare ... &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://alecpojidaev.wordpress.com/2009/08/26/a-mutually-exclusive-check-box-in-a-repeating-section/"&gt;alecpojidaev.wordpress.com/.../a-mutually-exclusive-check-box-in-a-repeating-section&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=46256" width="1" height="1"&gt;</description></item><item><title>re: Automatically adding rows to repeating sections</title><link>http://www.infopathdev.com/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx#41533</link><pubDate>Mon, 11 May 2009 13:22:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41533</guid><dc:creator>tfiema</dc:creator><description>&lt;p&gt;To explain the non-browser form issue: The ExecuteAction method is only available in the client side Microsoft.Office.Infopath.dll (the 59KB one).&lt;/p&gt;
&lt;p&gt;The server side one (47KB), the one referenced by forms services doesn't have this method. Meaning browser based forms cannot use this code. For browser based forms you'll need to clone a row, or do an appendChild. Either way thise seem to work only if there is already a blank row in the table (of course you need one to clone).&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=41533" width="1" height="1"&gt;</description></item></channel></rss>