<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Calculating and Displaying "top 3" from a SharePoint Library Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/66696.aspx</link><pubDate>Thu, 19 May 2011 23:00:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66696</guid><dc:creator>ToastyMcCheese</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66696.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=66696</wfw:commentRss><description>&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Hi there, I wanted to start out by saying this website is absolutely great. I just started working with InfoPath a couple of weeks ago and thanks to the help I&amp;#39;ve found here I&amp;#39;ve been able to fly through some pretty advanced projects with it. Currently though I&amp;#39;ve found myself stuck, what I am trying to do is display a table at the top of my form&amp;nbsp;featuring sales figures from the agents submitting the forms. The trick is that more then 100+ people will be utilizing the form so we need to a) find a way to calculate total sale numbers for the agents and then b) display just the top 3 agents and their sales. My main problem is that whenever I try to call the field from the secondary data connection via C# it reports it as blank and doesn&amp;#39;t let me analyze it or any of the other pieces of information within that field. I&amp;#39;m just looking for a place to kick off from, a way of analyzing and handling all the data from the SharePoint. Any help you all could provide would be amazing, thanks so much in advance!&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;At this point with the project we are using C# and have several other functions utilized in it so if possible I would like to stay with C# though if someone has a solution from another programming method I wouldn&amp;#39;t mind recoding what we have done so far.&lt;/font&gt;&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt;</description></item></channel></rss>