SqlSelect doesn't find text in textfield
Thorsten Hohage
thohage at genericobjects.de
Tue Sep 23 09:15:45 CDT 2008
Hi Markus,
On 2008-09-23, at 16:05, Markus Fraefel wrote:
> res = gDB.SqlSelect( "SELECT Kapitel, Lauftext, zielFrame FROM
> Seiten_de
> WHERE Kapitel LIKE '%" & Valentina.EscapeString(searchTerm,1) & "%' OR
> Lauftext LIKE '%" & Valentina.EscapeString(searchTerm,1) & "%'",
> #kServerSide, #kReadWrite, #kRandom )
(ist ein bisschen haarig mit dem ganzen Code drumrum :-)) )
res = gDB.SqlSelect( "SELECT Kapitel, Lauftext, zielFrame FROM Seiten_de
WHERE lower(Kapitel) LIKE lower('%" &
Valentina.EscapeString(searchTerm,1) & "%') OR
lower(Lauftext) LIKE lower('%" & Valentina.EscapeString(searchTerm,1)
& "%')",
#kServerSide, #kReadWrite, #kRandom )
regards,
Thorsten Hohage
--
Valentina Technology Evangelist
generic objects GmbH - Leiter Solution Center Nord
More information about the Valentina
mailing list