Anthony,
Boy are you rusty!
Cursors are readonly by default. You need to add the Readwrite keyword to
allow modification/update! 

Dave Crozier
 The secret to staying young is to live honestly, eat slowly, and to lie
about your age 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Anthony L. Testi
Sent: 07 September 2006 00:02
To: ProFox
Subject: How to create Readonly Cursors


More rust clogging my VFP brain cells:

Is there a 'keyword' that can be added to a VFP select statement to make the
cursor readonly?

Something like this (non-working code, cause' it does not like the
"readonly")

SELECT * FROM customer INTO CURSOR x readonly

Anthony L. Testi


Anthony L. Testi


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

Reply via email to