use cursor statement when executing or bookmarking and there is no selection