Subject [IBO] IBOPipeline GetFieldValue and null
Author Paul Hope
Hi

I have just struggled with an error in Report Builder and discovered it was down to the IBOPipeline. The function GetFieldValue would normally start with Result:=Null but has been modified to return an empty string as a default value.

function TppIBOPipeline.GetFieldValue(AFieldName: string): Variant;
begin
Result := ''; //Null;
...

This breaks ppReportExplorer.Execute because it makes some calls with an empty AFieldName then stops with a variant error. Returning the line to Result:=Null fixes it - but I'm sure it breaks something else - but I can't remember what. If someone else knows why it was changed please let me know before my customer discovers it ;-)

Regards
Paul


[Non-text portions of this message have been removed]