We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8778d40 commit ff6050fCopy full SHA for ff6050f
source/dbconnection.pas
@@ -10145,7 +10145,7 @@ function TDBQuery.GetWhereClause: String;
10145
for i:=0 to NeededCols.Count-1 do begin
10146
j := FColumnOrgNames.IndexOf(NeededCols[i].Name);
10147
if j = -1 then
10148
- raise EDbError.CreateFmt(_('Cannot compose WHERE clause - column missing: %s'), [NeededCols[i]]);
+ raise EDbError.CreateFmt(_('Cannot compose WHERE clause - column missing: %s'), [NeededCols[i].Name]);
10149
if Result <> '' then
10150
Result := Result + ' AND';
10151
// See issue #769 and #2031 for why we need CastAsText
0 commit comments