set field in a record (Not working)