<?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: Setting values based on other controls value</title><link>https://www.infopathdev.com:443/forums/thread/20970.aspx</link><pubDate>Tue, 19 Jun 2007 23:17:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20970</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20970.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=20970</wfw:commentRss><description>&lt;p&gt;Hi Rajeev,&lt;/p&gt;&lt;p&gt;Whew, that sure is a lot of date fields! InfoPath 2007 is a little bit better about doing calendar comparisons, but I don&amp;#39;t know if it can handle all of this.&amp;nbsp; I would add code that runs on the OnAfterChange event on each of the date pickers that gets all of the values from the date pickers, loads them into DateTime objects (from .NET), compares them, and then sets the RequestDate, ReceiptDate, and Duration values from those comparisons.&lt;/p&gt;&lt;p&gt;If you need information on parsing the date picker control values into DateTime objects, just do a search for all of the parsing methods available with that object.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I hope this helps!&lt;/p&gt;</description></item><item><title>Re: Setting values based on other controls value</title><link>https://www.infopathdev.com:443/forums/thread/20965.aspx</link><pubDate>Tue, 19 Jun 2007 20:27:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20965</guid><dc:creator>tcsqa_engineer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20965.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=20965</wfw:commentRss><description>&lt;p&gt;Hi Matt, &lt;/p&gt;&lt;p&gt;Below is a representation with values filled in for some fields&amp;nbsp;on a Form.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;RequestDate&lt;/strong&gt; :&amp;nbsp;(Should get value -&amp;nbsp;&amp;nbsp;05/29/2007)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;ReceiptDate&lt;/strong&gt; : (Should get value - 06/10/2007)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Status&lt;/strong&gt; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(Should get value SeriousIssues)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Duration&lt;/strong&gt; :&amp;nbsp; __ days. (Should get value 13 )&lt;/p&gt;&lt;p&gt;&lt;strong&gt;TestRequestDate&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&amp;nbsp;05/29/2007&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;TestReceiptDate&lt;/strong&gt; : 06/10/2007&lt;/p&gt;&lt;p&gt;&lt;strong&gt;TestStatus&lt;/strong&gt; : Manageable Issues&lt;/p&gt;&lt;p&gt;&lt;strong&gt;CertRequestDate&lt;/strong&gt; :&amp;nbsp;&amp;nbsp;06/01/2007&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;CertReceiptDate&lt;/strong&gt; :06/02/2007&lt;/p&gt;&lt;p&gt;&lt;strong&gt;CertStatus&lt;/strong&gt; : SeriousIssues&lt;/p&gt;&lt;p&gt;The functionality I need is : &lt;/p&gt;&lt;p&gt;When user enters or changes values for the fields (eg; filled in values shown), the fields (RequestDate, ReceiptDate, Status, Duration) have to be set with the values. &lt;/p&gt;&lt;p&gt;The field &lt;strong&gt;RequestDate&lt;/strong&gt; should be set with the lowest date as on a xxxRequest field value in the form.&lt;/p&gt;&lt;p&gt;The field &lt;strong&gt;ReceiptDate&lt;/strong&gt; should be set with highest date&amp;nbsp;as on a&amp;nbsp;xxxReeceipt field value in the form.&lt;/p&gt;&lt;p&gt;The field &lt;strong&gt;Status&lt;/strong&gt; should be set with highest status code as on a xxxStatus field value in the form. &lt;/p&gt;&lt;p&gt;The field &lt;strong&gt;Duration&lt;/strong&gt; should be set with the diference in number of days between &amp;quot;&lt;strong&gt;ReceiptDate&lt;/strong&gt;&amp;quot; and &amp;quot;&lt;strong&gt;RequestDate&lt;/strong&gt;&amp;quot;.&lt;/p&gt;&lt;p&gt;Hope I have given you enough details.&lt;/p&gt;&lt;p&gt;Thanks &amp;amp; Regards, &lt;/p&gt;&lt;p&gt;Rajeev.&lt;/p&gt;</description></item><item><title>Re: Setting values based on other controls value</title><link>https://www.infopathdev.com:443/forums/thread/20924.aspx</link><pubDate>Tue, 19 Jun 2007 08:53:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20924</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20924.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=20924</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m having a hard time understanding this question.&amp;nbsp; Are the dates in B and C actually literal dates or is there some kind of relationship between them that when fulfilled should set A = B?&amp;nbsp; Also, what is in the drop-down list?&lt;/p&gt;&lt;p&gt;An explicit example would be helpful to solve this.&lt;/p&gt;</description></item><item><title>Setting values based on other controls value</title><link>https://www.infopathdev.com:443/forums/thread/20894.aspx</link><pubDate>Mon, 18 Jun 2007 20:23:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20894</guid><dc:creator>tcsqa_engineer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20894.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=20894</wfw:commentRss><description>&lt;p&gt;Hi All, &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a form where there are lot of list boxes and date pickers. If Date Picker B = 07/20/07 and Date Picker C = 06/30/2007 then Date picker A should take the value in B.&amp;nbsp; When the date has been set the corresponding List value for A (False)&amp;nbsp;should take the List value in B (eg. False).&lt;/p&gt;&lt;p&gt;How is this possible.&lt;/p&gt;&lt;p&gt;Thanks, &lt;/p&gt;&lt;p&gt;Rajeev.&lt;/p&gt;</description></item></channel></rss>