I want to be able to remove attributes from an object. (Not just nullify them).

Example:

$en_Rec is an ‘entity’ [Record]
obj is an OBJECT field for this record
$en_Rec.obj refers to that field

Now some attributes are defined/set for this object
$en_Rec.obj.name:=“this”
$en_Rec.obj.userDisplay:=true
$en_Rec.obj.userEnter:=true

Later I want to change object field (OBJ) 
I add two attributes:
$en_Rec.obj.privDisplay:=“All"
$en_Rec.obj.privEnter:=“Designer"

this is to make the display / entry privilege more specific than a simple 
boolean

but I want to delete the two attributes from this object now:
$en_Rec.obj.userDisplay:=null
$en_Rec.obj.userEnter:=null

____

Is this the way to remove attributes from an object?  (i.e. setting the value 
to null?) Seems that the attribute stays, but is now ‘null’.


Thanks
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to