Them procedure viewTable