When it comes to null values in the Column "MyColumn" an
“Could not convert variant of type (Null) into type (OleStr)” exception raises.
As we debugged, it seems the error occurs in MemData.pas in
Code: Select all
function TData.Eval(Node: TExpressionNode): boolean;
Code: Select all
if (Node.LeftOperand.NodeType in [ntField, ntValue]) and Assigned(Node.LeftOperand.LeftOperand) then
case Node.LeftOperand.LeftOperand.NodeType of
ntLower:
V1 := AnsiLowerCase(V1);
ntUpper:
V1 := AnsiUpperCase(V1);
end;