I have a form on which there are two text boxes. The textbox1 contain the month and the textbox2 contain the year. I want to show the report of those records in the table which are within the year specified in the textbox2 and also within the month specified.

For example i have 2 in the first textbox which is month and 2007 in the second textbox2. Now the report will show all records of month 2 of year 2007.

How I can do that.

Thanks
Imran Ahmad Mughal