Subject RE: [IBO] Possible bug report
Author Jason Wharton
This should be resolved in my next release.
 
Thanks for reporting this.
 
Jason Wharton
 


From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Monday, April 23, 2018 1:46 PM
To: IBObjects@yahoogroups.com
Subject: [IBO] Possible bug report

I will report a behavior that I believe is a bug in IBO Version 5.9.7 Build 2754:



In TIBODataset.SysDefineParams(), line 5730, the conditional below:


if ( not VarSameValueEx( v, tmpPrm.Value )) then


Returns True when (v = 0) and (tmpPrm.Value = Unassigned).


This keeps the tmpPrm.Value = null instead of the value zero when I do in the code somethink like:


var

  vDouble: Double;

...

  vDouble := 0;

  TIBOQuery.ParamByName('FIELDNAME').Value := vDouble;

...


In case of any doubt, I will respond promptly,


Best regards,