How to set a Record