add function QueryCurrentRow