On Tue, Sep 20, 2011 at 2:49 PM, Alan Bourke <[email protected]> wrote:
> Select mytable
> set order to tag order1
> goto top
> lvKeyvalue = mytable.field1
> locate for field1 != lvKeyvalue
> lnResult1 = Recno()
> set order to tag order2
> goto top
> lvKeyvalue = mytable.field1
> locate for field1 != lvKeyvalue
> lnResult2 = Recno()
-----------------------------

Why has nobody else questioned the need for a row number?  Shouldn't
we all be searching on the key?

All I see is a refactor job to rid use of recno() and instead use
locate or seek.

Now is there are still @Say in that app I'll just say forget refactor,
go for rewrite.


-- 
Stephen Russell

Unified Health Services
60 Germantown Court
Suite 220
Cordova, TN 38018

Telephone: 888.510.2667

901.246-0159 cell

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cajidmyltm5mbkkyr+h9fc2+3f8xnha6y+adv8-z-pm4vc5j...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to