Splitted function evalRecord in prepareRecord + eval for cache purposes