<?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: Make a filter of a reapeating section in C#</title><link>https://www.infopathdev.com:443/forums/thread/13466.aspx</link><pubDate>Tue, 23 Aug 2005 14:34:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13466</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13466.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13466</wfw:commentRss><description>Hi Patrick,&lt;br /&gt;&lt;br /&gt;Thanks for your answer! Sorry I have forget to make a "search before post" the most important things!&lt;br /&gt;&lt;br /&gt;That work great now and without code!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: Make a filter of a reapeating section in C#</title><link>https://www.infopathdev.com:443/forums/thread/13465.aspx</link><pubDate>Mon, 22 Aug 2005 19:40:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13465</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13465.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13465</wfw:commentRss><description>Hi Thierry,&lt;br /&gt;You asked for a C# solution! :)  Sure, you can filter with XPath. In fact Greg has several articles on how to do this. Search for "filter repeating table". Here's one sample:&lt;a target="_blank" href=http://www.infopathdev.com/downloads/free/default.aspx?i=8af4f44352a4457fbb28c6c5e6319178&gt;http://www.infopathdev.com/downloads/free/default.aspx?i=8af4f44352a4457fbb28c6c5e6319178&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Make a filter of a reapeating section in C#</title><link>https://www.infopathdev.com:443/forums/thread/13464.aspx</link><pubDate>Mon, 22 Aug 2005 13:43:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13464</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13464.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13464</wfw:commentRss><description>Hi Agni,&lt;br /&gt;&lt;br /&gt;Thanks for your help!&lt;br /&gt;&lt;br /&gt;But I have speak with my boss and he don't wan't that I use code for this formular! So is there anyway to do that in infopath design mode?&lt;br /&gt;&lt;br /&gt;Is there anyway? if not, no problem we do that with code but if we can do without It's bettter.&lt;br /&gt;&lt;br /&gt;Only for see if you think that can be work my condition is:&lt;br /&gt;&lt;br /&gt;if the group of the reapeating section has an attribute fldtype='post'&lt;br /&gt;&lt;br /&gt;If they haven't any with the value "post" take the last with the value "Firmen"&lt;br /&gt;&lt;br /&gt;Thanks for your help!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: Make a filter of a reapeating section in C#</title><link>https://www.infopathdev.com:443/forums/thread/13463.aspx</link><pubDate>Thu, 18 Aug 2005 19:49:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13463</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13463.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13463</wfw:commentRss><description>Hi Thierry,&lt;br /&gt;You can use c# code to filter rows in the InfoPath form, you need to use xdExtension to call a c# method in the InfoPath form. &lt;br /&gt;&lt;br /&gt;To call c# method in filter, &lt;br /&gt;1. Go to filter Dialog.&lt;br /&gt;2. Select "Expression" in the first dropdown.&lt;br /&gt;3. Write the condition in the textbox, something similar to ( xdExtension:GetValue() = my:field1 ). &lt;br /&gt;//my:field1 is a column in the repeating table.&lt;br /&gt;4. Click on Ok.&lt;br /&gt;&lt;br /&gt;Now your filter should work perfectly fine.&lt;br /&gt;&lt;br /&gt;Hope this Helps!&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPath Dev India</description></item><item><title>Make a filter of a reapeating section in C#</title><link>https://www.infopathdev.com:443/forums/thread/12528.aspx</link><pubDate>Thu, 18 Aug 2005 13:25:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12528</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12528</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;When you are in design mode you can make a filter for reapeating section is there anyway to make this with a c# code?&lt;br /&gt;&lt;br /&gt;Thanks for your answer&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item></channel></rss>