>Hi All:
>
>I'm using a local view in a grid and the last record, regardless of how many there are,
>always reports its recno() as -1. Then during a scan... endscan, no surprise, I get an
>'Out of range error' when it hits that record, the view locks up, the app crashes,
>but only intermittently. I have to kick it around a bit by adding
>and deleting records, but still...Does anybody know why?
>
>Thanks,
>Luke
It means that the last record is just recently added record. Make sure you don't insert a record in this view.
If it's not broken, fix it until it is.
My Blog