<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : FilterText question</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : FilterText question]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 27 Apr 2026 04:25:50 +0000</pubDate>
  <lastBuildDate>Thu, 01 May 2008 17:27:44 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=10180</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[FilterText question : OK. Now I understand all....This...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34537&amp;title=filtertext-question#34537</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3817">msotocl</a><br /><strong>Subject:</strong> 10180<br /><strong>Posted:</strong> 01 May 2008 at 5:27pm<br /><br /><img src="http://forum.codejock.com/smileys/smiley32.gif" border="0" align="absmiddle"><br><br>OK.&nbsp; <br><br>Now I understand all....This one very good<br><br>Thank you very much <br>]]>
   </description>
   <pubDate>Thu, 01 May 2008 17:27:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34537&amp;title=filtertext-question#34537</guid>
  </item> 
  <item>
   <title><![CDATA[FilterText question : Hi,   What doesn&amp;#039;t work?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34499&amp;title=filtertext-question#34499</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10180<br /><strong>Posted:</strong> 01 May 2008 at 12:25am<br /><br />Hi,<DIV><DIV>&nbsp;</DIV><DIV>What doesn't work? </DIV><DIV>&nbsp;</DIV><DIV>Right clicking a column will select the column and&nbsp;enter your sort text. The <FONT size=4>*</FONT> will replace all chars beginning with "Data..."</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080501_000752_Sorting.JPG" border="0"></DIV></DIV>]]>
   </description>
   <pubDate>Thu, 01 May 2008 00:25:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34499&amp;title=filtertext-question#34499</guid>
  </item> 
  <item>
   <title><![CDATA[FilterText question : HiThank you for your help... but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34494&amp;title=filtertext-question#34494</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3817">msotocl</a><br /><strong>Subject:</strong> 10180<br /><strong>Posted:</strong> 30 April 2008 at 5:03pm<br /><br />Hi<br><br><br>Thank you for your help... but the sample not work... <br>]]>
   </description>
   <pubDate>Wed, 30 Apr 2008 17:03:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34494&amp;title=filtertext-question#34494</guid>
  </item> 
  <item>
   <title><![CDATA[FilterText question : Hi,   This is a sample project...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34365&amp;title=filtertext-question#34365</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10180<br /><strong>Posted:</strong> 29 April 2008 at 5:54am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>This is a sample project how to sort on a certain column. The ReportControl is V11.1 (I don't have an earlier version). Just replace the ReportControl with your own version if necessary.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><a href="https://forum.codejock.com/uploads/20080429_153244_TestSorting.zip" target="_blank">uploads/20080429_153244_TestSorting.zip</A></DIV>]]>
   </description>
   <pubDate>Tue, 29 Apr 2008 05:54:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34365&amp;title=filtertext-question#34365</guid>
  </item> 
  <item>
   <title><![CDATA[FilterText question : Hi.  i not undestand your example...  please...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34352&amp;title=filtertext-question#34352</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3817">msotocl</a><br /><strong>Subject:</strong> 10180<br /><strong>Posted:</strong> 28 April 2008 at 9:20pm<br /><br /><DIV>Hi.</DIV><DIV>&nbsp;</DIV><DIV>i not undestand your example...</DIV><DIV>&nbsp;</DIV><DIV>please see the image:</DIV><DIV>&nbsp;</DIV><DIV>i need make a filter only on column selected: In this case Column "Nombre Producto". I write a text in superior right text&nbsp; box and need, what the report control only search the text in selected column ("Nombre Producto")</DIV><DIV>&nbsp;</DIV><DIV>any idea</DIV><DIV>&nbsp;</DIV><DIV>thank you very much</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080428_211731_Dibujo.jpg" border="0"></DIV>]]>
   </description>
   <pubDate>Mon, 28 Apr 2008 21:20:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34352&amp;title=filtertext-question#34352</guid>
  </item> 
  <item>
   <title><![CDATA[FilterText question : Hi NightHawk Did you try this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34079&amp;title=filtertext-question#34079</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10180<br /><strong>Posted:</strong> 22 April 2008 at 8:27am<br /><br /><P>Hi NightHawk</P><P>Did you try this with 1,5 million records? With my solution it doesn't matter if there are 10.000.000 records or just 1 <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 22 Apr 2008 08:27:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34079&amp;title=filtertext-question#34079</guid>
  </item> 
  <item>
   <title><![CDATA[FilterText question : You can write your own custom...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34057&amp;title=filtertext-question#34057</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=570">nighthawk</a><br /><strong>Subject:</strong> 10180<br /><strong>Posted:</strong> 21 April 2008 at 8:27pm<br /><br />You can write your own custom filter function.&nbsp; Here is a modified version of what I use.&nbsp; I didn't actually test this version so there may be a bug or two that needs worked out:<br><br>Private Sub filterRows2(p_objGrid As XtremeReportControl.ReportControl, p_strFilterText As String, p_lngColumnID As Long)<br>&nbsp;&nbsp;&nbsp; Dim Record As XtremeReportControl.ReportRecord<br>&nbsp;&nbsp;&nbsp; Dim i As Long<br>&nbsp;&nbsp;&nbsp; Dim strValue As String<br>&nbsp;&nbsp;&nbsp; Dim strCaption As String<br>&nbsp;&nbsp;&nbsp; Dim bolVisible As Boolean<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; On Error GoTo filterRows2_Error<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; ' initially make all records visible<br>&nbsp;&nbsp;&nbsp; For i = 0 To p_objGrid.Records.Count - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Record = p_objGrid.Records(i)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Record.Visible = True<br>&nbsp;&nbsp;&nbsp; Next i<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; If (p_strFilterText &lt;&gt; "") Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'loop through all rows and check filter text against value and caption of specified column<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = 0 To p_objGrid.Records.Count - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Record = p_objGrid.Records(i)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; strValue = Record.Item(p_lngColumnID).Value<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; strCaption = Record.Item(p_lngColumnID).Caption<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If ((isStringInString(LCase$(p_strFilterText), LCase$(strValue)) = True) Or _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (isStringInString(LCase$(p_strFilterText), LCase$(strCaption)) = True)) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Record.Visible = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Record.Visible = False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next i<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set Record = Nothing<br>&nbsp;&nbsp;&nbsp; p_objGrid.Populate<br><br>&nbsp;&nbsp;&nbsp; On Error GoTo 0<br>&nbsp;&nbsp;&nbsp; Exit Sub<br><br>filterRows2_Error:<br>&nbsp;&nbsp;&nbsp; <br>End Sub<br><br>Public Function isStringInString(p_strIsThisString As String, p_strInThisString As String) As Boolean<br><br>&nbsp;&nbsp;&nbsp; On Error GoTo isStringInString_Error<br><br>&nbsp;&nbsp;&nbsp; If (InStr(p_strInThisString, p_strIsThisString) &lt;&gt; 0) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'if not 0, then it is in target string<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; isStringInString = True<br>&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'if equals 0, then not in string<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; isStringInString = False<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp; On Error GoTo 0<br>&nbsp;&nbsp;&nbsp; Exit Function<br><br>isStringInString_Error:<br>&nbsp;&nbsp;&nbsp; isStringInString = False<br>End Function<br>]]>
   </description>
   <pubDate>Mon, 21 Apr 2008 20:27:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=34057&amp;title=filtertext-question#34057</guid>
  </item> 
  <item>
   <title><![CDATA[FilterText question : Hi,  I guess it&amp;#039;s not possible...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=33999&amp;title=filtertext-question#33999</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10180<br /><strong>Posted:</strong> 21 April 2008 at 2:34am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I guess it's not possible to filter on just 1 colum. The filter applies on every column in the ReportControl. I don't know what you need this for but you could add some code in the BeforeDrawRow event to "filter" the column you want.</DIV><DIV>&nbsp;</DIV><DIV>If Item.Index =&nbsp;1 Then<BR>&nbsp;&nbsp;&nbsp; If Metrics.Text Like "*" &amp; wndReportControl.FilterText &amp; "*" Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.Font.Bold = True</DIV><DIV>&nbsp;&nbsp;&nbsp; Else</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.Font.Bold = False</DIV><DIV>&nbsp;&nbsp;&nbsp; End If<BR>End If</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 21 Apr 2008 02:34:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=33999&amp;title=filtertext-question#33999</guid>
  </item> 
  <item>
   <title><![CDATA[FilterText question : Hi,I have a version 11.2. (Good...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=33441&amp;title=filtertext-question#33441</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3817">msotocl</a><br /><strong>Subject:</strong> 10180<br /><strong>Posted:</strong> 10 April 2008 at 5:12pm<br /><br /><P>Hi,<BR><BR>I have a version 11.2.&nbsp; (Good version), i have a 2 question:</P><DIV>&nbsp;</DIV><DIV>1.- how to make a search of filltertext but only of selected column</DIV><DIV>&nbsp;</DIV><DIV>2.- How to make a fixedrows (how to subtotals), but displayed in the end of a sumatory i.e, not only in header or footer</DIV><DIV>&nbsp;</DIV><DIV>Thank you very much</DIV>]]>
   </description>
   <pubDate>Thu, 10 Apr 2008 17:12:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10180&amp;PID=33441&amp;title=filtertext-question#33441</guid>
  </item> 
 </channel>
</rss>