Empty ObjectPtr

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Jul 14 22:51:52 CDT 2005


On 7/14/05 10:24 PM, "Andrew Sinning" <andrew at learningware.com> wrote:

> What happens if you leave an ObjectPtr with an ON DELETE CASCADE null?
> Can the entry continue to if there is no corresponding null RecId in the
> referenced table?

Of course. This means that record do not have parent.

> How about if I use a zero value?  As far as I can tell, zero is not used
> as a RecId.  Will this work?

OF COURSE!

This is legal and correct use for ObjectPtr

> The reason is that I have a class of objects that typically belongs to
> another object, but in some instances they will stand along, without
> relationship to the other object.

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