title: Delphi 7, Titan BTrieve Components
body: <p>I am using Delphi 7, and Titan BTrieve to open a Pervasive Table.</p>
  
  <p>It is a TtbTable component.</p>
  
  <p>I am trying to apply the filter on a TimeStamp field with my code as follows:</p>
  
  <pre><code>    Date:=InputDate;
      DateString:=FormatDateTime('DD/MM/YYYY HH:NN:SS', InputDate);
      Table1.Filter:='UPDATEDON &gt; '+chr(39)+DAteString+chr(39);
      Table1.Filtered:=True;
  </code></pre>
  
  <p>The problem is that the filter results are incorrect.  It returns records that are before the do not match the filter criteria.</p>