<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Totalling values from Sharepoint column</title><link>https://www.infopathdev.com:443/forums/thread/14154.aspx</link><pubDate>Tue, 03 Jan 2006 02:04:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14154</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14154</wfw:commentRss><description>Hi A.J. and welcome to the forum,&lt;br /&gt;I think this is difficult. You can do it but it will take a lot of custom code to access the values. Why not just turn demotion on and use the values from the forum? Demotion allows for saving values back to the forms from SharePoint. There are a couple issues with demotion and I have heard it was disabled by a recent service pack. If you don't have that service pack, it's probably still there. In the future (this summer), the Forms Server will provide the same functionality.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Totalling values from Sharepoint column</title><link>https://www.infopathdev.com:443/forums/thread/12726.aspx</link><pubDate>Sat, 31 Dec 2005 06:10:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12726</guid><dc:creator>adouangpanya</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12726.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12726</wfw:commentRss><description>This is what I'm doing and what I need to accomplished.  I have a currency field in the form and let's call it "Amount".  I'm publishing the form to a Sharepoint library and I'm pushing the "Amount" field to show in Sharepoint for people to fill out and then save it back to the library.  Now, in the same form i have a numeric field call "TotalAmountForAllForms" that suppose to sum up the values from the "Amount" field for ALL the forms in the same library list.&lt;br /&gt;&lt;br /&gt;I know you could easily create a drop-down list and call the database connection string to read from Sharepoint "Amount" column and it'll list all the values.  &lt;br /&gt;&lt;br /&gt;In code (javascript and xpath), how can you call a particluar Sharepoint colunm and total up the values?&lt;br /&gt;&lt;br /&gt;Please help.  Thank you in advance.  &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;A.J</description></item></channel></rss>