[Lazarus] SQL Editor produces wrong string constant
John Landmesser
jmlandmesser at gmail.com
Fri Dec 19 16:28:09 CET 2014
Hi,
Lazarus 1.3 r47221 FPC 2.6.4 x86_64-linux-gtk 2
example SQL-Editor:
SELECT Datum, Zeit FROM Daten
WHERE Datum > '01.01.2014'
After create String constant:
SQL = 'SELECT Datum, Zeit FROM Daten'+LineEnding+
'WHERE Datum > ''01.01.2014''';
This statement will not be executed!
Before and after +LineEnding+ is missing a blank:
' ' +LineEnding+ ' '
simple to fix!!
More information about the Lazarus
mailing list