Method syntax for a composite pointer index
chuck hinkle
chuckbo at hinkles.us
Sat Nov 1 07:50:23 CST 2003
>>
>> Component_ptr = new vobjectPtr("Component_ptr", indatabase.Components,
>> kv_cascade + kv_indexed)
>> Container_ptr = new
>> vobjectPtr("Container_ptr",indatabase.containers,kv_cascade + kv_indexed)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> BTW, this is NOT CORRECT!!!!
>
>
> Cascade -- this is deletion control parameter.
>
> kV_Indexed -- this is FLAGS parameter.
>
> Please check docs!
Can someone explain the error, please, because that's what I understood I
needed to do when I read the documentation.
I think I want the kv_cascade, because when this record is deleted, I want
all of the records in the Many side that are being pointed to be deleted.
I'll go back and look at the 3-table RB example. But maybe I'm not focused
on the right part of the documentation or it's confusing to me.
And are you saying that I don't need to use kV_Indexed because why -- are
pointers always indexed, without being specified?
chuck
More information about the Valentina
mailing list