Sytze,
Bear in mind that records in cache will actually have negative record numbers 
until they are flushed out to disk. Try flushing the cache first.

Dave

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Sytze de Boer
Sent: 10 May 2011 01:01
To: profox
Subject: VFP9 - error help

Can someone point me in the right direction please
In a routine where I've never had a problem, it now bombs out on the
following line
locate for recno()=lcrec

It bombs with message "Record is out of range" (as part of my error routine

If I test this on my pc from the command line, I can see it is indeed
an End of locate scope but my error routine is not triggered by this
On the other hand, if I say "go lcrec"  then the error routine is triggered

-- 
Regards
Sytze de Boer
Kiss Software

[excessive quoting removed by server]

_______________________________________________
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.

Reply via email to