Explorar o código

Fix SQL where clause

Reinier Olislagers %!s(int64=11) %!d(string=hai) anos
pai
achega
6614930739
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      querywindow.pas

+ 1 - 1
querywindow.pas

@@ -443,7 +443,7 @@ begin
         // Get primary key fields
         fmMain.GetIndexFields(TableName, PKIndexName, UpdateQuery, KeyList);
         fmMain.GetFields(FDBIndex, TableName, FieldsList);
-        WhereClause:= 'where ';
+        WhereClause:= ' where ';
 
         UserData.DisableControls;
         // Check modified records