Subject RE: [IBO] Crash reading TIBOTable.RecNo
Author IBO Support List
Mason,
 
I'm not sure how that is happening.
 
It would be helpful to see the callstack on that problem.
 
I probably just need to detect that condition and safeguard things.
 
Thanks,
Jason
 


From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf Of masonwheeler@...
Sent: Saturday, November 9, 2013 3:33 PM
To: IBObjects@yahoogroups.com
Subject: [IBO] Crash reading TIBOTable.RecNo

I'm getting a crash that I've traced back to an attempt to read RecNo on a dataset when the value of FActiveRecord = -1.  This causes TDataSet.ActiveBuffer to return a junk value, and things go downhill from there.

I'm not sure why FActiveRecord is being set to -1 or how to fix this.  Any ideas?