<?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: Complicated time calculation</title><link>https://www.infopathdev.com:443/forums/thread/37831.aspx</link><pubDate>Thu, 29 Jan 2009 09:04:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37831</guid><dc:creator>Jimothias</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37831.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37831</wfw:commentRss><description>&lt;p&gt;Hilary&lt;/p&gt;
&lt;p&gt;Thanks for that, thats a great help :0) However any fields I add seem unable to repeat themselves properly in my repeating table. Anything I put in the top row automatically replicates itself to the additional rows I put in. I tried setting them to repeat and even the GROUP&amp;nbsp;I put them in to repeat. Any help would be brilliant :0)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;</description></item><item><title>Re: Complicated time calculation</title><link>https://www.infopathdev.com:443/forums/thread/37793.aspx</link><pubDate>Wed, 28 Jan 2009 17:29:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37793</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37793.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37793</wfw:commentRss><description>&lt;p&gt;Hi -- you should be able to add fields to the data source for a form that was created from a database -- but only to the root node. If you select the top folder in your form&amp;#39;s main data source, you should have the option to &lt;strong&gt;add&lt;/strong&gt;&amp;nbsp; a field.&lt;/p&gt;</description></item><item><title>Re: Complicated time calculation</title><link>https://www.infopathdev.com:443/forums/thread/37790.aspx</link><pubDate>Wed, 28 Jan 2009 16:58:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37790</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37790.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37790</wfw:commentRss><description>&lt;p&gt;&lt;a class="" href="http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/"&gt;Try this&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Complicated time calculation</title><link>https://www.infopathdev.com:443/forums/thread/37768.aspx</link><pubDate>Wed, 28 Jan 2009 10:37:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37768</guid><dc:creator>Jimothias</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37768.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37768</wfw:commentRss><description>&lt;p&gt;Greetings all :0)&lt;/p&gt;
&lt;p&gt;I&amp;#39;m relatively new to the world of InfoPath so I&amp;#39;m learning all the time and would appreciate some help :0) Not the first time, probably not the last, but I&amp;#39;m glad this place is full of helpful people.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been making a form that submits to a MS SQL box and I&amp;#39;m using the &amp;quot;Database&amp;quot; form template. I found that I can only use either the Query fields or the Data fields. I wonder if anyone knows if there is a way I can insert some of my own controls (not to be submitted). At the moment I&amp;#39;m using some of the query fields that I&amp;#39;m not using which in turn populate the data fields that remain the same throughout.&lt;/p&gt;
&lt;p&gt;The problem I have is that I am trying to work out the differences between 2 time fields. I&amp;#39;ve followed the guide here: &lt;a href="http://www.bizsupportonline.net/infopath2003/time-calculations-infopath-using-rules.htm"&gt;http://www.bizsupportonline.net/infopath2003/time-calculations-infopath-using-rules.htm&lt;/a&gt;&amp;nbsp;which when I create a new form and follow it works perfectly. I do change certain coding to match my own form eg -&lt;br /&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN;mso-bidi-font-size:11.0pt;mso-fareast-language:EN-GB;"&gt;(((number(substring(../&lt;strong&gt;my:endTime&lt;/strong&gt;, 1, 2)) * 3600) + (number(substring(../&lt;strong&gt;my:endTime&lt;/strong&gt;, 4, 2)) * 60)) - ((number(substring(., 1, 2)) * 3600) + (number(substring(., 4, 2)) * 60))) div 3600 &lt;br /&gt;became&lt;br /&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN;mso-bidi-font-size:11.0pt;mso-fareast-language:EN-GB;"&gt;(((number(substring(../&lt;strong&gt;@finish_time&lt;/strong&gt;, 1, 2)) * 3600) + (number(substring(../&lt;strong&gt;@finish_time&lt;/strong&gt;, 4, 2)) * 60)) - ((number(substring(., 1, 2)) * 3600) + (number(substring(., 4, 2)) * 60))) div 3600 &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN;mso-bidi-font-size:11.0pt;mso-fareast-language:EN-GB;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN;mso-bidi-font-size:11.0pt;mso-fareast-language:EN-GB;"&gt;When I click Verify Formula it all reports as ok and such. The only thing I wonder is that I cant turn the data fields I&amp;#39;m using into the right type and format like I can in the normal form rather than the &amp;quot;Database&amp;quot; template form.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN;mso-bidi-font-size:11.0pt;mso-fareast-language:EN-GB;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN;mso-bidi-font-size:11.0pt;mso-fareast-language:EN-GB;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN;mso-bidi-font-size:11.0pt;mso-fareast-language:EN-GB;"&gt;If anyone can see where I am going wrong I would really appreciate a pointer :0)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN;mso-bidi-font-size:11.0pt;mso-fareast-language:EN-GB;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN;mso-bidi-font-size:11.0pt;mso-fareast-language:EN-GB;"&gt;Thanks in advanced&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN;mso-bidi-font-size:11.0pt;mso-fareast-language:EN-GB;"&gt;James&lt;/p&gt;&lt;/span&gt;</description></item></channel></rss>