Dear Steve, yes that's exactly what I want. In the form, User will type in the number of records he/she wishes to see in the select query. Based on that input, I wish the select query to display the records.
By the method you have explained .... the count of records field in the output of...