Hello,
I have found a bug with Filter option in VCL.NET application.
This error occure when I use left and right Bracket.
For Ex.
(GCLCODE=1)
But in Win32 it's work, I have found a difference between Win32 and DotNET.
In win32 the StringList BoolSymbolLexems.TEXT return this
( ) + - = > >= [ ]
but in DotNET BoolSymbolLexems.TEXT return this
- ( ) [ ] + = > >=
It's not in same sort.
N.Schmied
[ODAC 5.70.0.29 CLR]Filter Error
Hi,
I have found solution,
Your code
And my code that resolve bug

I have found solution,
Your code
Code: Select all
function CRCmpStrings(List: TStringList; Index1, Index2: Integer): Integer;
begin
Result := CompareStr(List[Index1],
List[Index2]);
end;
Code: Select all
function CRCmpStrings(List: TStringList; Index1, Index2: Integer): Integer;
begin
{$IFDEF CLR}
Result := System.String.CompareOrdinal(List[Index1],List[Index2]);
{$ELSE}
Result := CompareStr(List[Index1],
List[Index2]);
{$ENDIF}
end;

-
- Devart Team
- Posts: 925
- Joined: Thu 17 Nov 2005 10:53