<?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: Select top three rows from secondary database in repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/57049.aspx</link><pubDate>Sat, 17 Jul 2010 13:05:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57049</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57049.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57049</wfw:commentRss><description>&lt;p&gt;Could you make an additional secondary data source (retrieve values type) and ask it to retrieve the values from the table with the user names and the dates? This would be ok for an SQL database - not sure on Sharepoint.&lt;/p&gt;
&lt;p&gt;Then set a filter on the secondary datasource which is based on the currently selected value of the user name and requery it when suitable.&lt;/p&gt;
&lt;p&gt;The secondary data source will contain the dates for that username. You could try one of these approaches - further adjust the filter for something like &amp;#39;AND position() &amp;lt;= 3 or use conditinal formatting on the repeating section/table display to hide when position() &amp;gt; 3.&lt;/p&gt;</description></item><item><title>Re: Select top three rows from secondary database in repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/56596.aspx</link><pubDate>Wed, 07 Jul 2010 12:25:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56596</guid><dc:creator>mahakbhalla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56596.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=56596</wfw:commentRss><description>&lt;p&gt;Hello, any help on this?&lt;/p&gt;</description></item><item><title>Re: Select top three rows from secondary database in repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/56560.aspx</link><pubDate>Tue, 06 Jul 2010 15:26:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56560</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56560.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=56560</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;yes you are right, it wont work in this situation, i didnt notice that you were using rules to show hide some rows already. i will get back to you on this tomorrow&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Select top three rows from secondary database in repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/56546.aspx</link><pubDate>Tue, 06 Jul 2010 12:08:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56546</guid><dc:creator>mahakbhalla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56546.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=56546</wfw:commentRss><description>&lt;p&gt;Sorry, it does not solve my problem. I want to display 3 rows and hide or delete the remaining rows that are retieved from database for that name selected from dropdown. But this solution hides all of them. &lt;/p&gt;</description></item><item><title>Re: Select top three rows from secondary database in repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/56544.aspx</link><pubDate>Tue, 06 Jul 2010 11:38:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56544</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56544.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=56544</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;sorry i forgot to mention that you will have to use conditional formatting to hide the field on the condition &lt;/p&gt;&lt;p&gt;count(preceding-sibling::*) &amp;gt;= 3&lt;/p&gt;&lt;p&gt;this will display a maximum of three records &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Select top three rows from secondary database in repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/56541.aspx</link><pubDate>Tue, 06 Jul 2010 09:31:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56541</guid><dc:creator>mahakbhalla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56541.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=56541</wfw:commentRss><description>&lt;p&gt;Hi, I want to display maximum of three records, but it can be 1 or two also. I want to display ProcessingDates if there has been some processing done for someone during the past three months (from today). It should display max of 3 if its more than 3 during past three months&amp;nbsp;or it can also display 1 or 2 dates if it is ... &lt;/p&gt;</description></item><item><title>Re: Select top three rows from secondary database in repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/56540.aspx</link><pubDate>Tue, 06 Jul 2010 09:23:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56540</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56540.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=56540</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;try using this conditional formatting on the repeating table &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;count(preceding-sibling::*) + 1 &amp;gt; 3&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Select top three rows from secondary database in repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/56538.aspx</link><pubDate>Tue, 06 Jul 2010 07:17:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56538</guid><dc:creator>mahakbhalla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56538.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=56538</wfw:commentRss><description>Hi, Im running into an issue where I have to select top three rows from database and display them on my browser enabled infopath for. Issue is:

User will select a name from drop down box (only unique values selected), on infopath form I want to show only top three rows from share point list for that name. There can be multiple values like 10 for a user, I want to display only 3 in info path form. Any clue how to do that. I have tried using rules, conditional formatting... Can you please guide.

Thanks in advance.</description></item></channel></rss>