Michael, No problem at all. The official VFP line is that if you use a cursor as input to a further "select" statement then you should ALWAYS add the rewrite option. In reality, sometimes when you omit the readwrite it works (especially in vfp9) but in about 5% of cases it croaks! I must admit I ALWAYS use it having been bitten on many occasions even though it's a little slower as a physical cursor is produced on disk (not in memory). I'd just not noticed you didn't have it in your first post!
It's always the time you forget that catches you out though! Dave Crozier "A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match" - Bill Bryson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Hawksworth Sent: 13 July 2006 10:32 To: [email protected] Subject: Re: Cursor problem Readwrite worked! Which will do me for now! Thank-you very much. I'll have a look at it again over the weekend and see if I can pin down the cause. Now I can just get on with the other urgent things to do yesterday! Cheers -- Michael Hawksworth Visual Fox Solutions [EMAIL PROTECTED] www.foxpro.co.uk [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 ** 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.

