VCursor Changes Locking Type

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jun 27 13:33:18 CDT 2006


On 6/27/06 12:30 PM, "Chuck Pelto" <cbpelto at pcisys.net> wrote:

Hi Chuck,

> Greetings,
> 
> What could cause a VCursor to go from a ReadWrite to a ReadOnly?

Existing cursor cannot do such switch.
 
> Using the DebugLevel logging, the error I'm experiencing with that
> non-fatal VException is that the VCursor has become ReadOnly. I
> cannot find anyplace where I've made a call to a ReadOnly SQLSelect.
> 
> Is there a simple way to reset it to ReadWrite?

You must self set ReadWrite in SqlSelect()

BUT note, not each cursor can be ReadWrite.
Only Single Table cursor can be ReadWrite.

If you have JOIN, then cursor will be ALWAYS Read only


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list