Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid scrollbar problem
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00538335
Message ID:
00538413
Views:
8
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform