madorin / fibplus

FibPlus Library for Delphi and C++Builder. Data access components for Firebird & Interbase.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't find by name lookup field with type TFIBWideStringField

RonaldsR opened this issue · comments

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;

@RonaldsR , fixed, thanks!