Database search results

How would you do this? If I link the table to a dataset it gets populated before I do the search. I’m wanting the table to be blank until the search is completed and then be linked to the dynamic page. I like the idea of the onRowSelect event but not sure how to word it to link to the dynamic page. Thanks