Subject | RE: [IBO] Filter |
---|---|
Author | Jason Wharton |
Post date | 2007-10-04T04:50:38Z |
I did find a fix which is necessary to support the UPPER (and other
functions of this type) if a space is between UPPER (or whatever MIN, MAX,
etc.) and the open parenthesis like this:
My Filter := 'UPPER ( mycol ) = ...
Make the fix below:
IB_Parse.pas line 6106
tmpPos := getLitsRoundSafePos( ')', AStr, EndPos + 2 );
if tmpPos > 0 then
begin
EndPos := tmpPos + 1; // Add the + 1 here.
Result := true;
end;
Hope this helps,
Jason Wharton
functions of this type) if a space is between UPPER (or whatever MIN, MAX,
etc.) and the open parenthesis like this:
My Filter := 'UPPER ( mycol ) = ...
Make the fix below:
IB_Parse.pas line 6106
tmpPos := getLitsRoundSafePos( ')', AStr, EndPos + 2 );
if tmpPos > 0 then
begin
EndPos := tmpPos + 1; // Add the + 1 here.
Result := true;
end;
Hope this helps,
Jason Wharton