![]() |
Re: SQL Like Groß-und Kleinschreibung
Bist du sicher, dass du keine Quotes(') in deinem RichEdit hast?
Versuchs mal so:
Delphi-Quellcode:
Ds.SelectSQL.Text := 'SELECT *' + #13#10 +
'FROM xyz' + #13#10 + 'WHERE field1 LIKE ' QuotedStr(RichEdit1.Text); // Oder Ds.SelectSQL.Text := 'SELECT *' + #13#10 + 'FROM xyz' + #13#10 + 'WHERE field1 LIKE '+#39+'%'+StringReplace(RichEdit1.Text,#39,#39#39,[rfReplaceAll])+'%'+#39; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:53 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz