Record selection method in table