Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Navigator
Message
From
30/01/2001 10:50:22
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00469698
Message ID:
00470072
Views:
43
I don't get it? GO BOTTOM would get the last record, not EOF. Likewise, GO TOP will get the first record, not BOF. If it was indexed, the rule still applies (record number 5 ID could have the smallest number, therefore, should be the record number 1 for that reason...). The good thing about that is it "refresh" itself after a record is inserted/appended/deleted, even before ThisForm.Refresh. Admittedly, this is my coding and may not be the best way, but it is in it's simplest format to get it working "accurately". By all means, if you have something else to share with me, I would like to hear it and would change my coding if it's beneficial.

Chuck

>Be very careful on thinking that if you go bottom and then get the recno() you are not necessarily getting the recno() of the last record. And likewise for go top. Depending on your index, the bottom recno() may be some number in the middle of the file. So sometimes your buttons will work and sometimes not.
Today is tomorrow's yesterday.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform