range in queries

Hi,

how do we give range in predefined queries. i want to range of fiscal year that is selected by user in the form and based on the selection, data should be fetched…

thanks