<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Try a different Method without custom code</title><link>https://www.infopathdev.com:443/forums/thread/31683.aspx</link><pubDate>Mon, 25 Aug 2008 19:22:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31683</guid><dc:creator>khershey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31683.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=31683</wfw:commentRss><description>&lt;p&gt;I was able to solve this on my own, although its not exacltly the way I wanted to solve this problem, it works. I would have perferred to get Excel Services and InfoPath playing nicely, but due to a time contraint I had to move forward with a different method.&lt;/p&gt;
&lt;p&gt;&lt;u&gt;I ended up using a SharePoint Calculation field to do the following calc:&lt;br /&gt;&lt;/u&gt;&lt;em&gt;=INT(([Column 2]-[Column 1])*24) (Difference between dates in hours when the time exceeds 24hours)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note: The date/time format required is mm/dd/yy hh:mm:ss (05/15/2008 13:25)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;u&gt;And used the following Rule based off a checkbox in InfoPath to format the date and time of the&amp;nbsp;fields&amp;nbsp;as needed:&lt;br /&gt;&lt;/u&gt;&lt;em&gt;concat(substring(today(), 6, 2), &amp;quot;/&amp;quot;, substring(today(), 9, 2), &amp;quot;/&amp;quot;, substring(today(), 3, 2), &amp;quot; &amp;quot;, substring(now(), 12, 5))&lt;br /&gt;&lt;br /&gt;Note: Using the Now() function returns the date and time as &lt;/em&gt;2008-08-25T15:19:53, the method above converts it to the necessary format for the sharepoint calculated field to do its magic.&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>Help issues with Trusted form and excel services</title><link>https://www.infopathdev.com:443/forums/thread/31675.aspx</link><pubDate>Mon, 25 Aug 2008 13:43:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31675</guid><dc:creator>khershey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31675.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=31675</wfw:commentRss><description>&lt;p&gt;I have a fully trusted form using the excel services web service as outlined in this post:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://enterprise-solutions.ikreate.nl/infopath2007/calculate-date-difference-infopath-rules-excel-services.htm"&gt;http://enterprise-solutions.ikreate.nl/infopath2007/calculate-date-difference-infopath-rules-excel-services.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am using the instructions above to a T, and I am having two issues&lt;/p&gt;
&lt;p&gt;#1. When I try to open the browser based form from SharePoint and I receive the following message:&lt;br /&gt;&amp;quot;Select a Form Template to open XML File&amp;quot;, when i select my file that I have uploaded I receive the error &amp;quot;The element &amp;#39;comment&amp;#39; is used but not declared in the DTD/Schema.&amp;quot;&lt;br /&gt;(This file has been published to the sharepoint library already, but I still recieve this error)&lt;/p&gt;
&lt;p&gt;#2. if I open the form (from infopath in preview mode and try to run rules applied in the link above, I receive an error &lt;br /&gt;&amp;quot;The query cannot be run for the following DataObject: OpenWorkbook&lt;br /&gt;InfoPath cannot run the specified query.&lt;br /&gt;The SOAP response indicates that an error occurred on the server:&lt;/p&gt;
&lt;p&gt;You do not have permissions to open this file on Excel Services.&amp;quot;&lt;br /&gt;&lt;br /&gt;I have the excel file in a trusted library, and I am only using Alternative Access mappings for the portal in general, not the site.&amp;nbsp; I have also made sure to give the internal/external access mapping for the said library where the excel file is located.&lt;br /&gt;&lt;br /&gt;I have Farm Administrator rights.&amp;nbsp; Any ideas what I&amp;#39;m doing wrong.&amp;nbsp; Help is Greatly Appricated!!&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>