new VCursor fixed

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Jul 3 23:18:14 CDT 2003


on 7/3/03 23:10, jda at jda at his.com wrote:

>>>  BTW, if you don't specify kReadWrite, can you populate a cursor that
>>> you create with "where recID = 0"?
>>> 
>> 
>> No.
>> 
>> Cursor still marked as ReadOnly,
>> And command Add() will refuse.
>> 
> 
> That makes sense. Can you perform
> 
> myCursor.dropRecord
> 
> if myCursor is ReadOnly?

YES.

This is from Valentina sources


void OBL_Cursor::DropRecord( void )
{
    // We can do Drop record even for read only table,
    // because we do not change original tables

    mCursorTable->DropRecord();
}




-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list