V4WS 1.11 - SetNull deletion control

Steven Ronald stevenrt39 at yahoo.com.au
Mon Sep 17 00:39:55 CDT 2007


Ruslan,

I make a daughter table with an ObjectPtr field
relating it to a parent table with deletion control
specified as SetNull.

Now when I delete a record in the parent table, the
related records in the daughter table will not be
deleted but the ObjectPtr field of the related records
is set to NULL.

My question:

If I try to obtain a cursor that seeks to update the
daughter record with kServer, kReadWrite, kRandom
options just when Valentina sets the ObjectPtr field
of this daughter record to Null (because the parent
record was deleted) does the attempt to obtain the
cursor fail? ie does valentina effectively lock the
record against write attempts while it is setting the
ObjectPtr to null?

Best Regards,
Steven


      ____________________________________________________________________________________
Sick of deleting your inbox? Yahoo!7 Mail has free unlimited storage.
http://au.docs.yahoo.com/mail/unlimitedstorage.html



More information about the Valentina mailing list