Sets from Cursors Re: VCursor.AddRecord

Ed Kleban Ed at Kleban.com
Fri Dec 2 09:54:01 CST 2005




On 11/30/05 9:41 AM, "Ruslan Zasukhin" <sunshine at public.kherson.ua> wrote:

> On 11/28/05 8:13 PM, "Ed Kleban" <Ed at Kleban.com> wrote:
> 
>> ...then I'm presuming that...
>> 
>>     Vcursor.AddRecord()
>> will add a new record to BOTH the cursor as well as to the original table,
>> correct?
> 
> Yes. 
> 
> Cursor must be ReadOnly = false
>  
> In fact, such cursor do not have own records. It work over original

Which cursors do not have their own records?
ReadOnly = false cursors?
or all cursors?

Essentially you're telling me that the cursor you get back when readonly =
false is internally a bitSet or an ArraySet.

   Is there a technical reason why you could not provide the functions:

       VCursor.AsArraySet() as VArraySet
       Vcursor.AsBitSet() as VBitSet

Which is different from the question:

   Is there a philisophical reason why you would NOT like to provide these
functions?



 

>> And what is done for fields in the original table that are not included in
>> the cursor?  Presumably they are set to their blank value equivalents?
> 
> BLANK




More information about the Valentina mailing list