On 29-11-2019 22:52, Clyde Eisenbeis cte...@gmail.com [firebird-support] 
wrote:
> The fstName is the column title, not the value.  I'm using embedded 
> Firebird.

That you're using Firebird Embedded doesn't matter, it works exactly the 
same as Firebird Server for queries. The problem is that your using two 
conditions on column fstName using AND. That means for a single row both 
conditions must be true for that column.

The conditions

lower(fstName) LIKE lower(@p0)
AND lower(fstName) LIKE lower(@p1)

will only be true if both @p0 and @p1 can match the same value, which I 
think is unlikely for a column which contains first names. Maybe you 
meant OR instead?

Mark
-- 
Mark Rotteveel
  • [firebi... cte...@gmail.com [firebird-support]
    • Re... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
    • Re... Richard Damon rich...@damon-family.org [firebird-support]
      • ... Clyde Eisenbeis cte...@gmail.com [firebird-support]
    • Re... Kjell Rilbe kjell.ri...@marknadsinformation.se [firebird-support]
      • ... Clyde Eisenbeis cte...@gmail.com [firebird-support]
        • ... Karol Bieniaszewski liviusliv...@poczta.onet.pl [firebird-support]
          • ... Clyde Eisenbeis cte...@gmail.com [firebird-support]
            • ... Richard Damon rich...@damon-family.org [firebird-support]
              • ... Clyde Eisenbeis cte...@gmail.com [firebird-support]
                • ... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
                • ... Tjioe Hian Pin thp_p...@yahoo.com [firebird-support]
                • ... Richard Damon rich...@damon-family.org [firebird-support]
            • ... Karol Bieniaszewski liviusliv...@poczta.onet.pl [firebird-support]
              • ... Clyde Eisenbeis cte...@gmail.com [firebird-support]

Reply via email to