cc042297
asked on
TIBCustomDataSet error
Hi,
I had to rebuild VCL. When opening a TIBDataset it stops at TIBCustomDataSet.FetchCurr entRecordT oBuffer with „Range check error”.
I have no idea, what can be wrong …
Any help is welcome. :)
CC
I had to rebuild VCL. When opening a TIBDataset it stops at TIBCustomDataSet.FetchCurr
I have no idea, what can be wrong …
Any help is welcome. :)
CC
ASKER
Hi Meikl,
It generates an ERangeError exception anyway. :(
I searched the web and found only one link, which seems to be dealing with the same problem. But it is in German: http://www.entwicklerforum.de/webx?50@134.dERaaqHAfV3.0@.2cb7d149
I speak German only a very little … :)
It generates an ERangeError exception anyway. :(
I searched the web and found only one link, which seems to be dealing with the same problem. But it is in German: http://www.entwicklerforum.de/webx?50@134.dERaaqHAfV3.0@.2cb7d149
I speak German only a very little … :)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The error disappeared! :) :)
This is what I did:
Replaced all LIB and SOURCE files from the Install CD.
Changed the dpr date to today.
Rebuilt the project. (Rebuilding didn’t change anything before.)
I always appreciate when somebody spends his/her time helping me, so I am going to share the points anyway.
Thanx for your help!
CC
This is what I did:
Replaced all LIB and SOURCE files from the Install CD.
Changed the dpr date to today.
Rebuilt the project. (Rebuilding didn’t change anything before.)
I always appreciate when somebody spends his/her time helping me, so I am going to share the points anyway.
Thanx for your help!
CC
ASKER
Hi,
I just wanted to let you know, that the same problem occured again. But this time I have found the real solution, which is almost the same what Meikl suggested. Turing Range checking off at the project options didn't help, but adding a {$R-} to the IBCustomDataSet unit solved the problem.
Last time I simply replaced all source and DCU files with the original ones, and luckily managed not to recompile it again. But the first time when I did, I faced the same problem.
Regards,
CC
I just wanted to let you know, that the same problem occured again. But this time I have found the real solution, which is almost the same what Meikl suggested. Turing Range checking off at the project options didn't help, but adding a {$R-} to the IBCustomDataSet unit solved the problem.
Last time I simply replaced all source and DCU files with the original ones, and luckily managed not to recompile it again. But the first time when I did, I faced the same problem.
Regards,
CC
if you disable the range-checking
in the compiler-setting
(guessing you didn't changed this unit)
meikl ;-)