Get the correct field value in table