tetsuo3030
Programmer
Hi.
I am getting Error 5: Record out of Range..but in a manner I haven't seen before. Usually, the origin of this error is some piece of code that is directly setting the record pointer outside of the current range of the table...this case is a little different.
The Error 5 origin in this case is a method who has been sitting on a call from 'read events' since the .exe starts running. There is a form active at the time of the error which holds a grid. The grid's datasource is the 'Currently Selected Table' when the Error 5 occurs. This error happens randomly, of course, to the user..
I just can't figure out how I could be getting this error from a method who is sitting on 'read events'? I've heard that perhaps some VFP "native code" might be causing the error before it ever gets a chance to enter our code..and that would explain why the origin of the error appears to be this method. But if that's the case, what kind of VFP Native Code would cause an Error 5?
Anybody got any ideas? Thanks alot.
I am getting Error 5: Record out of Range..but in a manner I haven't seen before. Usually, the origin of this error is some piece of code that is directly setting the record pointer outside of the current range of the table...this case is a little different.
The Error 5 origin in this case is a method who has been sitting on a call from 'read events' since the .exe starts running. There is a form active at the time of the error which holds a grid. The grid's datasource is the 'Currently Selected Table' when the Error 5 occurs. This error happens randomly, of course, to the user..
I just can't figure out how I could be getting this error from a method who is sitting on 'read events'? I've heard that perhaps some VFP "native code" might be causing the error before it ever gets a chance to enter our code..and that would explain why the origin of the error appears to be this method. But if that's the case, what kind of VFP Native Code would cause an Error 5?
Anybody got any ideas? Thanks alot.