Database.createScriptedAttribute


createScriptedAttribute(attrName, subType)

Creates a new attribute with no initial behaviour. LUSAS will not visualise or tabulate this attribute, but it may be created, edited and assigned just like any other attribute. It is the users responsibility to attach any meaning, calculation, behaviour etc. A sub type is allowed to distinguish between different types of scripted attribute. Values 0, 1 and 2 are reserved by LUSAS.

attrNamestring name of attribute
subTypeintegersub type must be in range 3-10
Return valueIFScriptedAttribute

Back to Database

Back to Overview