>Anybody know of any code that will quickly find the last record in a
>field, I have a table with 10,000 records and the first three fields
>are keyed. I need some code that will locate the first record with
>the required value in the first keyed field and then QUICKLY find the
>last record with the same value in the same keyed field..
>This is for Pdox4.0DOS
>I could use a Locate Next in a While loop until retval is false, but
>thats a bit sluggish..
If the "INDEX" command had a "descending" keyword (i.e. INDEX maintained "MyTable"
on "First Key" Descending) it would be a piece of cake, but it doesn't. <sigh>
Anyone else have a suggestion?
Jim