>>Hi,
>>
>>I was looking through an error log of one of the customers and I see, at least, a few times a year the error "Record is out of range.". The error log writes that the the last level that the function ASTACKINFO(aStackArray) got is the Start() method of the application object. I have seen this error before and always the ASTACKINFO() points to the Start() method (which is the very first method fired by the application - after user logs in). And I always thought that this error actually happens in the Start() method. And I could not see how.
>>
>>Today I looked at a couple of screen shots created when the error occurred. And the screen shot show one of the form/windows of the application. Yet, the ASTACKINFO() has nothing about this form.
>>So, my question. How could it happen that the error actually happens in one of the forms of the application but the error log (created with ASTACKINFO) only shows the Start() method?
>>
>>TIA
>
>I see this error from time to time with grids. Especially when the grid has focus and something else changes the record pointer. Since our application is a Client server application and the few indexes we use are mostly for sorting, it does not have to do with corrupt indexes
I agree. My app is client server too and the only DBF files are the meta files and they are in the .EXE. So, I think it is a grid-related problem too. I just need to duplicate it. Once I do, I can fix it.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham