Loop through all the LE's in a record to make them all read-only
#include "sbasic_include.sbas" var vElements as String vElements = @StringArrayElementList() If key < 1000 then { StringArrayAttributes(vElements, ATTR_ID_READ_ONLY, 1) } Else { StringArrayAttributes(vElements, ATTR_ID_READ_ONLY, 0) }