Re: INTO TABLE vs INTO CURSOR READWRITE

Author: Lew

Posted: 2010-07-29 at 23:11:24

READWRITE alone is enough.

USE (DBF(<cursorname>))

...was a workaround that preceded READWRITE & NOFILTER.

-----Original Message-----

From: Vincent Teachout <teachv@taconic.net>

Sender: profoxtech-bounces@leafe.com

Date: Thu, 29 Jul 2010 21:56:31

To: <profoxtech@leafe.com>

Reply-To: profox@leafe.com

Subject: Re: INTO TABLE vs INTO CURSOR READWRITE

Steve Ellenoff wrote:

> Is there any difference between these two?

>

> I'm looking at some older code and I have remarks about the SELECT

> SQL using INTO TABLE to avoid some VFP errors that says something

> like, "Command cannot be issued on a cursor" or something to that effect.

>

> Would changing my code to CURSOR READWRITE work equally well as the

> INTO TABLE ?

If you used tables to avoid "operation can not be performed on a

cursor," I would think you could do CURSOR READWRITE, followed by USE

DBF("MyCursor") ALIAS Bob, and do whatever on Bob. Just off the top of

my head.

_______________________________________________

Post Messages to: ProFox@leafe.com

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/4C52314F.1070900@taconic.net

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

Report [OT] Abuse: http://leafe.com/reportAbuse/4C52314F.1070900@taconic.net

_______________________________________________

Post Messages to: ProFox@leafe.com

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/1258621857-1280459485-cardhu_decombobulator_blackberry.rim.net-324316797-@bda836.bisx.prod.on.blackberry

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

©2010 Lew