hi.. i dont know how to do this..i have a data report and it has a criteria..it works fine if i have a complete date.but i'm having a problem when it comes to month only . i'm creating a report and i want to view all the details for a specific month only. please modify mycode..

i have a textbox and values from 1-12 will be its value..if its 1, then it refers to january..so, my criteria will depend on what will be the value of the textbox.

my criteria is a "date"..not a month..or anything..how will i solve this?

part of my code that works with a complete date please modify:
DataEnvironment1.Command1 (CDate(Text1.Text))
DataReport1.Show