setRecord, records creation is now handled by the newrecord method