Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The go bottom is not secure
Message
From
01/08/2003 17:39:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00816055
Message ID:
00816066
Views:
26
This message has been marked as the solution to the initial question of the thread.
>I found out that the go bottom is not secure into a relation
>because it looks like it does not go to the real bottom of
>the child table
>
> Is there a workaround to replace the "go bottom" as skip
> until the end of table or something like that ?
>
> Please help me

I am not sure what you mean, but perhaps you have an order established.

For instance, GO TOP will go to record #1 only if:

  • The table is not ordered.
  • The first record is not deleted (or SET DELETED is OFF).
  • You have no filter.

    The thing is, GO TOP (or GO BOTTOM) will use a logical order, not the recno().

    You can go to the last physical record with:
    goto reccount()
    Even if you have a filter, or the record is deleted, this command should still select the last record.

    HTH,

    Hilmar.
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Previous
    Reply
    Map
    View

    Click here to load this message in the networking platform