>Hi all,
>
>I have a gris on a form that display records from an old DBF (used in a clipper application). This DBF contain many deleted records at the begining (about 70% of deleted records, most at the begining of the file). When I open the DBF and go TOP, my grid's vertical scrollbar start at the middle and I'd like to display it at the begining (is it possible???).
>
>Unfortunately, I cannot pack the DBF, and the clipper application has no packing utility included.
>
>Thank for your help
You could select the active records into a cursor, and use the cursor as the Grid's data source.
set delete on
use myclipperdbf
select * from myclipper dbf into cursor mycursor
-or
you may copy non-deleted records to another file
set delete on
use myclipperdbf
copy all to mydbf
Imagination is more important than knowledge