a validatewrite method to check if the right value is choosen like the following <pre> MyEnum oldVal = aRecord.orig.()myField; MyEnum newVal = aRecord.myField; DictEnum e = new DictEnum(enumnum(MyEnum)); int i; ; for(i = 0; i <= e.values() -1; i++) { if(e.index2Value(i) == oldVal) { break; } } if(e.index2Value(i + 1) != newVal) { throw error("not allowed!"); } </pre> you have to check if the orig value ist already the last element which I haven't done here. hope this helps technet.navision.com Posting date: Monday, August 12, 2002 technet.navision.com Posting path: Navision Axapta