Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LOCATING backwards
Message
From
26/10/2003 08:29:47
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/10/2003 16:52:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00842157
Message ID:
00842717
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform