Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LOCATING backwards
Message
De
26/10/2003 08:29:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/10/2003 16:52:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00842157
Message ID:
00842717
Vues:
20
>Sorry Cetin,
>
>with a index the solution is simple ( i read you message too fast ).
>( The strange thing is that a solution of this type i had used it time ago in one SELECT TOP 3 .. ORDER BY NULL DESC, but the memory .... ).
>
>Then,
>SET FILTER .. GO BOTTOM it is the only solution (except a cycle SKIP -1) without an index, or not ?
>
>Fabio

I see.
Set filter .. go bottom is a solution but not the only solution w/o an index.
ie:

select recno() as rcno ;
from myTable ;
where FilterCondition ;
order by myOrder descending ;
into array arrRecs

lnMatch = _Tally
go arrRecs[1]

and others exist I believe:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform