ds_SetFieldAttributes


ds_SetFieldAttributes (tableNum; fieldNum; isMandatory; isEnterable; noModif; indexUnique; invisible) <- errorCode
Parameter Type Description
-> tableNum Integer Table number
-> fieldNum Integer Field number
-> isMandatory Integer 1 = mandatory, 0 = not mandatory
-> isEnterable Integer 1 = enterable, 0 = not enterable
-> noModif Integer 1 = is modifable, 0 is not modifiable
-> IndexUnique Integer 1 = field is indexed-unique
-> Invisible Integer 1 = Set invisible
<- errorCode Long Integer Error Code (0 = no error)


Modifiy the field attributes. Current values can be get with 4D commands. It is not possible to change the attributes of a field of kind subTable.