On Tue, Jun 24, 2008 at 11:52 PM, Sytze de Boer <[EMAIL PROTECTED]> wrote: > I don't know what I've done but I've upset my system where an unsuccessful > SEEK does not give me a recno(9) > i.e. recno(0)=0 > > my test code goes > If !found() > mf1=recno(0) > mf2=recno() > endif > > It returns mf1 with 0
Recno(0) returns zero if a close match cannot be found. Can you try: SET EXACT OFF SET NEAR ON SEEK(xxx) And see where in the DBF you end up? -- Paul _______________________________________________ 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/[EMAIL PROTECTED] ** 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.

