I show data in a grid. The cursor I show is the result of a SQLEXEC() command. I build the SQL query myself but I let the user enter some parameters which I convert in a WHERE clause of my SQL query to limit the number of rows returned by the query. Is there a way I can prompt the user what the number of rows that will be returned so he can cancel before executing the query and change the parameters to return less rows ?