Filtered grids are bad. Not only can you have issues like you're seeing here, but the Ux is not good. The scroll thumb works erratically and not how the user would expect. This causes frustration for the user.
A better option is to only SELECT the data actually needed to fill the grid.
>Hello all,
>
>Lately we noticed that in certain cases vfp crashes when the grid optimize propert is set to .t.. This seems to happen erraticaly, but usually when opening filtered grids. I noticed that if I set refresh to 0,0 this doesn't happen. I also noticed it happens more often on fast computers than on slow ones. The crash comes with the C00000005 code.
>
>Any help would be greatly appreciated.
>
>Eylon
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer