Can't find by name lookup field with type TFIBWideStringField
RonaldsR opened this issue · comments
RonaldsR commented
Fix:
function TFIBWideStringField.GetAsString: string;
begin
if fieldKind=fkData then
if GetDataToReserveBuffer then
Result:=PWideChar(FReservedBuffer)
else
Result:=''
else Result:=inherited; //Use inherited when field not fkData.
end;
Dorin Marcoci commented
@RonaldsR , fixed, thanks!