|
1 | 1 | { ***************************************************************************
|
2 | 2 |
|
3 |
| - Copyright (c) 2016-2019 Kike Pérez |
| 3 | + Copyright (c) 2016-2022 Kike Pérez |
4 | 4 |
|
5 | 5 | Unit : Quick.Linq
|
6 | 6 | Description : Arrays and Generic Lists Linq functions
|
7 | 7 | Author : Kike Pérez
|
8 | 8 | Version : 1.0
|
9 | 9 | Created : 04/04/2019
|
10 |
| - Modified : 22/03/20120 |
| 10 | + Modified : 19/01/2022 |
11 | 11 |
|
12 | 12 | This file is part of QuickLib: https://github.com/exilon/QuickLib
|
13 | 13 |
|
@@ -499,9 +499,9 @@ function TLinqQuery<T>.FormatParams(const aWhereClause : string; aWhereParams :
|
499 | 499 | vtAnsiString : Result := StringReplace(Result,'?',string(aWhereParams[i].VAnsiString),[]);
|
500 | 500 | vtWideString : Result := StringReplace(Result,'?',string(aWhereParams[i].VWideString^),[]);
|
501 | 501 | {$IFNDEF NEXTGEN}
|
502 |
| - vtString : Result := StringReplace(Result,'?',aWhereParams[i].VString^,[]); |
| 502 | + vtString : Result := StringReplace(Result,'?',string(aWhereParams[i].VString^),[]); |
503 | 503 | {$ENDIF}
|
504 |
| - vtChar : Result := StringReplace(Result,'?',aWhereParams[i].VChar,[]); |
| 504 | + vtChar : Result := StringReplace(Result,'?',string(aWhereParams[i].VChar),[]); |
505 | 505 | vtPChar : Result := StringReplace(Result,'?',string(aWhereParams[i].VPChar),[]);
|
506 | 506 | else Result := StringReplace(Result,'?', DbQuotedStr(string(aWhereParams[i].VUnicodeString)),[]);
|
507 | 507 | end;
|
|
0 commit comments