when selecting rows EOF can be used to indicate the max row value