IF SEEK() On 10 Jan 2015 10:09, "Man-wai Chang" <[email protected]> wrote: > > Some comments for those old codes: > > 1. There is no need to "go top" when doing a SCAN, unless you > are trying to SCAN WHILE. > 2. There is no need to "sele tsheets" before ENDSCAN as SCAN remembers > the table alias. > 3. A "IF FOUND()" should follow SEEK/LOCATE > > On Sat, Jan 10, 2015 at 5:43 AM, Sytze de Boer <[email protected]> wrote: > > sele tsheets > > go top > > scan > > sele stocks > > seek tsheets.stcode > > replace timesheets with timesheets+tsheets.qty > > sele tsheets > > endscan > > -- > .~. Might, Courage, Vision. SINCERITY! > / v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3) > /( _ )\ http://sites.google.com/site/changmw > ^ ^ May the Force and farces be with you! > [excessive quoting removed by server]
_______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAPqLOBz9oRZ2YTjs=q1dm-bpvnv2whbd6yrcvq_e_0k2lee...@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.

